-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 878 Bytes
/
setup.py
File metadata and controls
28 lines (26 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from setuptools import setup, find_packages, Extension
ffi = Extension(
'arnelify-orm-ffi',
sources=['arnelify_orm/src/ffi.cpp'],
language='c++',
extra_compile_args=['-std=c++2b', '-w'],
include_dirs=['/usr/include', '/usr/include/jsoncpp/json'],
extra_link_args=['-ljsoncpp', '-lmysqlclient']
)
setup(
name="arnelify_orm",
version="0.7.5",
author="Arnelify",
description="Minimalistic dynamic library which is an ORM written in C and C++.",
url='https://github.com/arnelify/arnelify-orm-python',
keywords="arnelify arnelify-orm-python arnelify-orm",
packages=find_packages(),
license="MIT",
install_requires=["cffi", "setuptools", "wheel"],
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
],
ext_modules=[ffi],
)