-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (62 loc) · 1.69 KB
/
setup.py
File metadata and controls
69 lines (62 loc) · 1.69 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
from setuptools import setup, find_packages
import sys, os
version = '0.1.2b9.dev0'
SERVER_REQUIRES=[
'dectate',
'fastapi[all]',
'uvicorn[standard]',
'pydantic',
'sqlalchemy',
'sqlalchemy_utils',
'alembic',
'databases[aiopg,aiomysql,aiosqlite]',
'aiosqlite',
'aiopg',
'aiomysql',
'pydantic-settings',
'transitions',
'python-multipart',
'aiohttp',
'cryptography',
'minio',
'pyjwt'
]
PG_REQUIRES=[
'psycopg2-binary'
]
CLIENT_REQUIRES=[
'requests',
]
TEST_REQUIRES=[
'pytest',
'pytest-server-fixtures[s3]'
]
def read_file(name) -> str:
with open(os.path.join(os.path.dirname(__file__), name)) as f:
return f.read()
setup(name='aurelix',
version=version,
description="Low code API framework based on Dectate and FastAPI",
long_description='\n\n'.join([read_file('README.md'), read_file('CHANGES.md')]),
long_description_content_type='text/markdown',
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='',
author='Izhar Firdaus',
author_email='kagesenshi.87@gmail.com',
url='',
license='LGPLv3',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=CLIENT_REQUIRES,
extras_require={
'server': SERVER_REQUIRES,
'test': CLIENT_REQUIRES + SERVER_REQUIRES + PG_REQUIRES + TEST_REQUIRES,
'all': CLIENT_REQUIRES + SERVER_REQUIRES + PG_REQUIRES + TEST_REQUIRES
},
entry_points={
'console_scripts': [
'aurelix=aurelix.cli:main'
]
},
)