-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
62 lines (54 loc) · 1.37 KB
/
setup.py
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
from setuptools import setup, find_packages
PACKAGE_NAME='fastapi-simple-mutex-server'
requirements = [
"fastapi",
"uvicorn",
"hiredis",
"aioredis<2"
]
tests_require = [
'jedi',
'pudb',
'pytest',
'pytest-cov',
'pytest-pudb',
'responses',
'pyfakefs',
'tox',
'tox-pyenv'
]
with open('README.md') as f:
long_desc = f.read()
with open('VERSION') as f:
version = f.read()
setup(
name=PACKAGE_NAME,
version=version,
description='A simple FastAPI microservice for manging locks.',
long_description=long_desc,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.9',
'Topic :: System :: Distributed Computing',
'Topic :: Internet :: WWW/HTTP :: HTTP Servers'
],
keywords="",
author="David Volm",
author_email="[email protected]",
url="https://github.com/daxxog/fastapi_simple_mutex_server",
license="Apache 2.0",
install_requires=requirements,
packages=find_packages("src"),
package_dir={'': 'src'},
test_suite='tests',
setup_requires=['pytest-runner'],
tests_require=['pytest>=3'],
extras_require={
"test": tests_require
},
entry_points={
'console_scripts': [
'fastapi-simple-mutex-server = fastapi_simple_mutex_server.cli:main'
],
},
)