-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (50 loc) · 1.72 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
# -*- coding: utf-8 -*-
'''
Created on 12 gru 2015
@author: Arkadiusz Dzięgiel <[email protected]>
'''
from setuptools import setup, find_packages
import re
import os
import sys
root_dir = os.path.realpath(os.path.dirname(__file__))
with open("%s/src/glorpen/di/__init__.py" % root_dir, "rt") as f:
version = re.search(r'__version__\s*=\s*"([^"]+)"', f.read()).group(1)
with open("%s/README.rst" % root_dir, "rt") as f:
long_description = f.read()
requires = ["funcsigs"] if sys.hexversion < 0x03030000 else []
setup (
name = 'glorpen-di',
version = version,
packages = ['glorpen.di'],
package_dir = {'': 'src'},
install_requires = requires + ['six>=1.9'],
dependency_links = [],
namespace_packages = ['glorpen'],
author = 'Arkadiusz Dzięgiel',
author_email = '[email protected]',
description = 'Yet another Dependency Injection (IOC) component for Python',
url = 'https://bitbucket.org/glorpen/glorpen-di',
license = 'GPLv3',
long_description= long_description,
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
],
test_suite = "glorpen.di.tests.__init__",
command_options = {
"bdist_wheel": {
"universal": ["setup.py", 1]
}
}
)