forked from CenterForOpenScience/osf-pigeon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 loc) · 1.16 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
import os
from setuptools import setup, find_packages
def parse_requirements(requirements):
with open(requirements) as fp:
return [
line.strip("\n")
for line in fp
if line.strip("\n") and not line.startswith("#")
]
HERE = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(HERE, "README.md"), encoding="utf-8") as fp:
long_description = fp.read()
setup(
name="osf_pigeon",
version="0.0.10",
description="A utility for archiving osf storage projects at archive.org",
long_description=long_description,
author="Center for Open Science",
author_email="contact@cos.io",
install_requires=parse_requirements("requirements.txt"),
url="https://github.com/CenterForOpenScience/osf-pigeon",
packages=find_packages(exclude=("tests*",)),
py_modules=["osf_pigeon.__main__"],
include_package_data=True,
zip_safe=False,
classifiers=[
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)