This repository has been archived by the owner on Dec 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
80 lines (65 loc) · 2.1 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# -*- coding: utf-8 -*-
#
# Copyright (C) 2015 by Alex Brandt <[email protected]>
#
# crumbs is freely distributable under the terms of an MIT-style license.
# See COPYING or http://www.opensource.org/licenses/mit-license.php.
import os
from codecs import open
from setuptools import setup
with open(os.path.join('crumbs', 'information.py'), 'r', encoding = 'utf-8') as fh:
exec(fh.read(), globals(), locals())
PARAMS = {}
PARAMS['name'] = NAME # noqa — provided by exec
PARAMS['version'] = VERSION # noqa — provided by exec
PARAMS['description'] = DESCRIPTION # noqa — provided by exec
with open('README.rst', 'r', encoding = 'utf-8') as fh:
PARAMS['long_description'] = fh.read()
PARAMS['url'] = URL # noqa — provided by exec
PARAMS['author'] = AUTHOR # noqa — provided by exec
PARAMS['author_email'] = AUTHOR_EMAIL # noqa — provided by exec
PARAMS['license'] = LICENSE # noqa — provided by exec
PARAMS['classifiers'] = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries',
]
PARAMS['keywords'] = [
'crumbs',
'parameters',
'configuration',
'environment',
'arguments',
]
PARAMS['packages'] = [
'crumbs',
]
PARAMS['install_requires'] = []
PARAMS['extras_require'] = {
'inotify': [
'pyinotify',
],
}
PARAMS['test_suite'] = 'nose.collector'
PARAMS['tests_require'] = [
'coverage',
'nose',
]
PARAMS['data_files'] = [
('share/doc/{P[name]}-{P[version]}'.format(P = PARAMS), [
'README.rst',
]),
]
setup(**PARAMS)