-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
31 lines (26 loc) · 1.02 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
""" Usual setup file for package """
# read the contents of your README file
from pathlib import Path
from setuptools import find_packages, setup
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
install_requires = (this_directory / "requirements.txt").read_text().splitlines()
with open("gradboost_pv/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
_, _, version = line.replace("'", "").split()
version = version.replace('"', "")
setup(
name="gradboost_pv",
version=version,
license="MIT",
description="Repository for inference and training of XGBoost based National PV Model.",
author="Tom Armstrong, Peter Dudfield, Tom Armstrong",
author_email="[email protected]",
company="Open Climate Fix Ltd",
install_requires=install_requires,
long_description=long_description,
long_description_content_type="text/markdown",
include_package_data=True,
packages=find_packages(),
)