-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
48 lines (44 loc) · 1.83 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
47
48
"""
to be uploaded to PyPI, you need to provide some basic information about your package
The setup.py file should be placed in the top folder of your package
"""
import pathlib
from setuptools import setup,find_packages
# The directory containing this file
root = pathlib.Path(__file__).parent
# The text of the README file
README = (root / "README.md").read_text()
# This call to setup() does all the work
setup(
name="hotmapsDispatch", # needed for pypi
version="0.0.1", # needed for pypi same as in __init__.py
description='A web user interface for energy system modelling',
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/tuw-eeg/hotmapsDispatch/tree/dev",
author="Michael Hartner, Richard Büchele, David Schmidinger, Michael Gumhalter, Jeton Hasani",
author_email="hasani@eeg.tuwien.ac.at",
license="Apache 2.0",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
],
packages= find_packages(), # needed for pypi!
package_data={
# If any package contains *.dat files include them
'': ['*.dat', '*.xlsx',"*.js","*.html","*.png"]},
include_package_data=True,
install_requires=["bokeh==0.12.10", "numpy","pandas","openpyxl","xlrd","matplotlib","pyomo","tornado==4.5.3","xlsxwriter","nodejs"],
keywords=['energy systems', 'optimisation', 'mathematical programming', "web user innterfaace"],
entry_points={
"console_scripts": [
"hotmapsDispatch_console=app.__main__:main",
],
"gui_scripts": [
"hotmapsDispatch=app.__main__:main",
]
},
)
# python setup.py sdist bdist_wheel
# twine check dist/*
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*