-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
35 lines (30 loc) · 1.11 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
#!/usr/bin/env python3
import setuptools
import os
import glob
dir_path = os.path.dirname(os.path.realpath(__file__))
requires = [f"{p} @ file://{os.path.join(dir_path, p)}" for p in ('c_helper', 'sql_helper', 'notebook_helper', 'python_helper')]
with open(os.path.join(dir_path, 'README.md')) as f:
long_description = f.read()
authors = set()
for author_file in glob.glob('*/AUTHORS.txt'):
with open(author_file) as f:
authors.update(line.strip() for line in f.readlines())
authors = sorted(list(authors))
setuptools.setup(
name='autotest_helpers',
version='0.0.1',
description='Various python packages designed for use as helpers when writing test scripts',
long_description=long_description,
long_description_content_type="text/markdown",
author=authors,
author_email="[email protected]",
url='https://github.com/MarkUsProject/autotest-helpers.git',
install_requires=requires,
python_requires='>=3.3',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)