-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
37 lines (33 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
36
37
import json
import setuptools
# description
with open('README.md', 'r', encoding='utf8') as f:
long_description = f.read()
# requirements
with open('requirements.txt', 'r', encoding='utf8') as f:
install_requires = f.read().splitlines()
# version
with open('fmlc/__init__.py', 'r', encoding='utf8') as f:
version = json.loads(f.read().split('__version__ = ')[1].split('\n')[0])
setuptools.setup(
name="FMLC",
version=version,
author="Gehbauer, Christoph",
description="A framework/backend for multi-layer and multi-time domain controller.",
long_description=long_description,
long_description_content_type="text/markdown",
license_files = ['license.txt'],
url="https://github.com/LBNL-ETA/FMLC",
project_urls={
"Bug Tracker": "https://github.com/LBNL-ETA/FMLC/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
packages=['fmlc'],
package_data={'': ['*.txt.', '*.md'],
'fmlc': ['pythonDB/*.py']},
python_requires=">=3.6",
install_requires= install_requires
)