-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (32 loc) · 933 Bytes
/
setup.py
File metadata and controls
38 lines (32 loc) · 933 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
35
36
37
38
from setuptools import find_packages, setup
from rlx2nix.info import infodict
NAME = infodict["NAME"]
VERSION = infodict["VERSION"]
AUTHOR = infodict["AUTHOR"]
CONTACT = infodict["CONTACT"]
DESCRIPTION = infodict["BRIEF"]
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
README = "README.md"
with open(README) as f:
description_text = f.read()
install_req = ["nixio>=1.5", "odML", "numpy"]
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
author=AUTHOR,
author_email=CONTACT,
classifiers=classifiers,
packages=find_packages(),
install_requires=install_req,
package_data = {'rlx2nix':['info.json']},
include_package_data=True,
long_description=description_text,
long_description_content_type="text/markdown",
license="BSD"
)