-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 996 Bytes
/
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
#!/usr/bin/env python
import pathlib
import pkg_resources
import setuptools
with open("readme.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with pathlib.Path('requirements.txt').open() as requirements:
install_requires = [
str(requirement)
for requirement
in pkg_resources.parse_requirements(requirements)
]
print(install_requires)
setuptools.setup(
name="spex_common",
version="0.1",
author="Artem Zubkov",
author_email="[email protected]",
description="The packages contains common code of spex",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://code.roche.com/spex/common",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(),
python_requires=">=3.9",
install_requires=install_requires
)