-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
87 lines (76 loc) · 1.99 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import os # type: ignore # noqa: F401
from os.path import join # type: ignore # noqa: F401
from setuptools import (
setup,
find_packages
)
with open('README.md') as readme_file:
readme = readme_file.read()
with open('CHANGELOG.md') as changelog_file:
changelog = changelog_file.read()
install_requirements = [
'cryptography~=39.0',
'requests~=2.28',
'mnemonic~=0.2',
'pydantic~=2.0'
]
setup_requirements = ['pytest-runner', ]
test_requirements = [
'flake8',
'pytest',
'isort',
'mypy',
]
# Possibly required by developers of colife-agent
dev_requirements = [
'bumpversion',
'isort',
'mypy',
]
docs_requirements = [
'Sphinx',
'sphinx-rtd-theme',
'sphinxcontrib-apidoc',
'sphinxcontrib-plantuml',
'sphinx-automodapi',
'pygments',
'devtools[pygments]'
]
setup(
author="dex-company",
author_email='devops@dex.sg',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.10',
],
description="Convex api",
extras_require={
'test': test_requirements,
'docs': docs_requirements,
'dev': dev_requirements + test_requirements + docs_requirements,
},
install_requires=install_requirements,
package_data={'convex_api': ['py.typed']},
license="Apache Software License 2.0",
long_description=readme,
long_description_content_type='text/markdown',
keywords='convex api',
name='convex-api-py',
packages=find_packages(),
scripts=[
'tools/convex_tools.py',
],
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
python_requires='>=3.10',
url='https://github.com/Convex-Dev/convex-api-py',
version='0.3.1',
zip_safe=False,
)