-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
37 lines (29 loc) · 1.05 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
import os
try:
from setuptools import setup
from setuptools import find_packages
except Exception:
from distutils.core import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def read_requirements(fname):
f = open(os.path.join(os.path.dirname(__file__), fname))
return filter(lambda f: f != '', map(lambda f: f.strip(), f.readlines()))
setup(
zip_safe=False,
name="gis_csdt",
version="1.3",
author="Currently SIlly Inventor, formally Kathleen Tully",
author_email="[email protected]",
description="Mapping software to encourage critical thinking",
keywords="",
packages=find_packages(),
long_description=read('README.md'),
install_requires=read_requirements('requirements.txt'),
test_suite="dummy",
include_package_data=True,
)