-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·50 lines (37 loc) · 1.08 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
# https://bugs.python.org/issue15881
try:
import multiprocessing
except ImportError:
pass
def readme():
with open('README.md') as fp:
return fp.read()
def version():
with open('VERSION') as fp:
return fp.readline().rstrip('\n')
def requirements():
with open('requirements.txt') as fp:
return fp.read()
def test_requirements():
with open('requirements_test.txt') as fp:
return fp.read()
setup(
name='gaek',
version=version(),
description="A collection of useful tools for Python apps running on Google App Engine.",
long_description=readme(),
long_description_content_type='text/markdown',
author="Eric Higgins",
author_email='erichiggins@gmail.com',
url='https://github.com/erichiggins/gaek',
license="BSD",
packages=find_packages(exclude=['tests', 'google']),
include_package_data=True,
install_requires=requirements(),
test_suite='tests',
tests_require=test_requirements(),
zip_safe=False)