-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·29 lines (25 loc) · 885 Bytes
/
setup.py
File metadata and controls
executable file
·29 lines (25 loc) · 885 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
#!/usr/bin/env python3
from setuptools import setup
install_requires = []
with open("./requirements.txt") as requirements_txt:
requirements = requirements_txt.read().strip().splitlines()
for requirement in requirements:
if requirement.startswith("#"):
continue
elif requirement.startswith("-e "):
install_requires.append(requirement.split("=")[1])
else:
install_requires.append(requirement)
setup(
name="datagetter",
version="0.1.0",
author="Open Data Services",
author_email="contact@opendataservices.coop",
scripts=["datagetter.py"],
url="https://github.com/ThreeSixtyGiving/datagetter",
license="LICENSE",
description="Fetches the data from registry.threesixtygiving.org",
install_requires=install_requires,
packages=["getter"],
packages_dir={"getter": "getter"},
)