forked from bndr/pycycle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (49 loc) · 1.55 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
import os
import sys
from os.path import dirname
from setuptools import setup
here = os.path.abspath(dirname(__file__))
with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = '\n' + f.read()
base_dir = os.path.dirname(__file__)
about = {}
with open(os.path.join(base_dir, "pycycle", "__version__.py")) as f:
exec(f.read(), about)
required = [
'crayons',
'click>=6.7',
'click-completion',
'pytest'
]
setup(
name='pycycle',
version=about['__version__'],
description='Find and repair your import cycles in any project',
long_description=long_description,
author='Vadim Kravcenko',
author_email='[email protected]',
url='https://github.com/bndr/pycycle',
packages=['pycycle'],
entry_points={
'console_scripts': ['pycycle=pycycle:cli'],
},
install_requires=required,
setup_requires=['pytest-runner'],
tests_require=['pytest'],
license='MIT',
classifiers=[
'Programming Language :: Python',
'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 :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
)