-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
58 lines (54 loc) · 1.64 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
# All dependences
deps = {
'polka-index-backend': ['Flask', 'pymongo', 'ruamel.yaml', 'flask-mongoengine'],
'test': [
'pytest',
],
'dev': [
'tox',
'pylint',
'autopep8',
'rope',
'black',
],
}
deps['dev'] = deps['polka-index-backend'] + deps['dev']
deps['test'] = deps['polka-index-backend'] + deps['test']
install_requires = deps['polka-index-backend']
extra_requires = deps
test_requires = deps['test']
with open('README.adoc') as readme_file:
long_description = readme_file.read()
setup(
name='polka-index-backend',
version='0.0.1',
description='Polka Index backend',
long_description=long_description,
long_description_content_type='text/asciidoc',
author='duyyudus - Yudus Labs',
author_email='[email protected]',
url='https://github.com/yudus-lab/polka-index-backend',
include_package_data=True,
tests_require=test_requires,
install_requires=install_requires,
extras_require=extra_requires,
license='MIT',
zip_safe=False,
keywords='Polka Index backend',
python_requires='>=3.7',
packages=find_packages(where='src', exclude=['tests', 'tests.*', '__pycache__', '*.pyc']),
package_dir={
'': 'src',
},
package_data={'': ['**/*.yml']},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.7',
'Operating System :: POSIX :: Linux',
],
)