-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (39 loc) · 1.31 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
import setuptools
from os import path, sep
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
readme = f.read()
with open("requirements.txt") as f:
required = f.read().splitlines()
setup_requirements = ['setuptools_scm','pytest-runner', ]
test_requirements = ['pytest>=3', ]
about = {}
with open(
path.join(here, "plugins/pds_plugin", "_version.py"),
encoding="utf-8",
) as f:
exec(f.read(), about)
setuptools.setup(
use_scm_version=True,
name=about["__name_soft__"],
description=about["__description__"],
long_description=readme,
author=about["__author__"],
author_email=about["__author_email__"],
url=about["__url__"],
license=about["__license__"],
long_description_content_type="text/markdown",
include_package_data=True,
packages=setuptools.find_packages(),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)GNU Lesser General Public License v3 (LGPLv3)",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=required,
)