-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
37 lines (32 loc) · 1.17 KB
/
setup.py
File metadata and controls
37 lines (32 loc) · 1.17 KB
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
from setuptools import setup, find_packages
def read_file(name):
with open(name) as fobj:
return fobj.read().strip()
LONG_DESCRIPTION = read_file("README.md")
VERSION = read_file("config/VERSION")
REQUIREMENTS = read_file("config/requirements.txt").split('\n')
TEST_REQUIREMENTS = read_file("config/requirements-test.txt").split('\n')
setup(
name='facsimile',
version=VERSION,
author='20C',
author_email='code@20c.com',
description='',
long_description=LONG_DESCRIPTION,
license='LICENSE.txt',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
url='https://github.com/20c/facsimile',
install_requires=REQUIREMENTS,
test_requires=TEST_REQUIREMENTS,
packages=find_packages(),
package_data={'facsimile': ['script/*.sh']},
scripts=['facsimile/bin/facs', 'facsimile/bin/version_bump_dev', 'facsimile/bin/version_merge_release'],
zip_safe=False
)