-
Notifications
You must be signed in to change notification settings - Fork 58
/
setup.py
63 lines (53 loc) · 1.84 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python
# setup
# Setup script for science-bookclub
#
# Author: Benjamin Bengfort <[email protected]>
# Created: Sun Mar 30 18:09:43 2014 -0400
#
# Copyright (C) 2014 District Data Labs
# For license information, see LICENSE.txt and NOTICE.md
#
# ID: setup.py [] [email protected] $
"""
Setup script for science-bookclub
"""
##########################################################################
## Imports
##########################################################################
try:
from setuptools import setup
from setuptools import find_packages
except ImportError:
raise ImportError("Could not import \"setuptools\"."
"Please install the setuptools package.")
##########################################################################
## Package Information
##########################################################################
packages = find_packages(where=".", exclude=("tests", "bin", "docs", "fixtures",))
requires = []
with open('requirements.txt', 'r') as reqfile:
for line in reqfile:
requires.append(line.strip())
classifiers = (
# TODO: Add classifiers
# See: https://pypi.python.org/pypi?%3Aaction=list_classifiers
)
config = {
"name": "ScienceBookclub",
"version": "0.1",
"description": "Generating the next read for our book club- with Data Science!",
"author": "Benjamin Bengfort",
"author_email": "[email protected]",
"url": "https://github.com/DistrictDataLabs/science-bookclub",
"packages": packages,
"install_requires": requires,
"classifiers": classifiers,
"zip_safe": False,
"scripts": [],
}
##########################################################################
## Run setup script
##########################################################################
if __name__ == '__main__':
setup(**config)