-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·38 lines (34 loc) · 1.12 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
#!/usr/bin/python3
from setuptools import setup
reqs = []
with open("requirements.txt") as fd:
for line in fd.readlines():
if '#' in line:
line = line[:line.index('#')]
if line := line.strip():
reqs.append(line)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='osgpy',
version='0.1.4',
description='Python utilities of the Operating System Group',
url='http://github.com/tuhhosg/osgpy',
author='Christian Dietrich',
author_email='[email protected]',
long_description=long_description,
long_description_content_type="text/markdown",
data_files=[('', ['./requirements.txt'])],
python_requires=">=3.9",
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
license='MIT',
packages=['osg'],
zip_safe=False,
install_requires=reqs
)