-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (33 loc) · 1.28 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
from setuptools import find_packages, setup
with open("requirements/requirements.txt") as f:
required = f.read().splitlines()
with open("requirements/dev-requirements.txt") as f:
dev = f.read().splitlines()
with open("requirements/doc-requirements.txt") as f:
docs = f.read().splitlines()
extras = dev + docs
def read_version():
with open("qDNA/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
return line.split("=")[1].strip().strip('"')
setup(
name="qDNA",
version=read_version(),
author="Dennis Herb",
author_email="dennis.herb@uni-ulm.de",
description="A package to calculate lifetimes, average charge separation and dipole moments of excited states along DNA within the formalism of open quantum systems.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/dehe1011/QuantumDNA",
license="BSD-3-Clause",
packages=find_packages(),
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
install_requires=required,
extras_require={"dev": dev, "docs": docs, "all": extras},
)