-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
62 lines (49 loc) · 1.47 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
from setuptools import find_packages, setup
import versionary
# Get the long description from the README file.
# For upload to pypi convert readme to rst.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except:
long_description = ''
install_requires = [
'six>=1.9.0',
]
tests_require = [
'pytest==3.0.5',
'pytest-cov==2.4.0',
'pytest-flake8==0.8.1',
]
setup(
name=versionary.__title__,
version=versionary.__version__,
description='Code versioning decorator',
long_description=long_description,
url='https://github.com/wearespindle/versionary',
author=versionary.__author__,
author_email=versionary.__email__,
license=versionary.__license__,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
keyword='versioning version versioned',
classifiers=[
# Status.
'Development Status :: 3 - Alpha',
# Audience.
'Intended Audience :: Developers',
# License.
'License :: OSI Approved :: MIT License',
# Programming languages.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
# Topic.
'Topic :: Software Development :: Version Control',
],
)