-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 1020 Bytes
/
Copy pathsetup.py
File metadata and controls
34 lines (30 loc) · 1020 Bytes
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
import os
from setuptools import setup
current_dir = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(current_dir, 'README.rst')).read()
REQUIRES_PYTHON = ">=3.5.0"
VERSION = open(os.path.join(current_dir, 'abcunit_backend', '__init__.py')).readline().split('"')[1]
reqs = [line.strip() for line in open('requirements.txt')]
dev_reqs = [line.strip() for line in open('requirements_dev.txt')]
docs_requirements = [
"sphinx",
"sphinx-rtd-theme",
"nbsphinx",
"pandoc",
"ipython",
"m2r2"
]
setup(
name="abcunit-backend",
version=VERSION,
description="Backend solution for abcunit success / failure logs",
long_description=README,
author="Jonathan Haigh",
author_email="jonathan.haigh@stfc.ac.uk",
url="https://github.com/cedadev/abcunit-backend",
python_requires=REQUIRES_PYTHON,
license="BSD 2-Clause License",
packages=["abcunit_backend"],
install_requires=reqs,
extras_require={"dev": dev_reqs, "docs": docs_requirements}
)