-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
57 lines (51 loc) · 1.92 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
import os
import sys
from setuptools import setup
if ((sys.version_info < (2, 7))
| ((sys.version_info.major == 3) & (sys.version_info.minor < 2))):
print("Sorry, django-taggit-helpers currently requires Python 2.7+/3.2+.")
sys.exit(1)
# From: https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
install_requires = [
'django>=1.7',
'django-taggit>=0.12.0',
]
setup(
name='django-taggit-helpers',
version='0.1.4',
packages=['taggit_helpers'],
include_package_data=True,
license='BSD License',
keywords='tags tagging taggit django-taggit',
description='Django admin helper classes for django-taggit tags',
long_description=(read('README.rst') + '\n\n' +
read('CHANGELOG.rst')),
url='https://github.com/mfcovington/django-taggit-helpers',
author='Michael F. Covington',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
install_requires=install_requires,
)