Skip to content

Commit bcd71bb

Browse files
committed
Cleanup and modernize setup.py and bump version numbers
1 parent 468279a commit bcd71bb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

setup.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22
from setuptools import setup, find_packages
3+
from os.path import dirname, join
34
import sys, os
45

56
# When creating the sdist, make sure the django.mo file also exists:
@@ -14,17 +15,19 @@
1415

1516
setup(
1617
name='django-polymorphic-tree',
17-
version='0.8.4',
18+
version='0.8.5',
1819
license='Apache License, Version 2.0',
1920

2021
install_requires=[
21-
'Django>=1.3.0',
2222
'django-polymorphic>=0.3.1',
2323
'django-mptt>=0.5.1',
2424
'django-tag-parser>=1.0.0',
2525
],
26+
requires=[
27+
'Django (>=1.3)', # Using staticfiles
28+
],
2629
description="A polymorphic mptt structure to display content in a tree.",
27-
long_description=open('README.rst').read(),
30+
long_description=open(join(dirname(__file__), 'README.rst')).read(),
2831

2932
author='Diederik van der Boor',
3033
author_email='[email protected]',
@@ -39,10 +42,12 @@
3942
classifiers=[
4043
'Development Status :: 4 - Beta',
4144
'Environment :: Web Environment',
45+
'Framework :: Django',
4246
'Intended Audience :: Developers',
4347
'License :: OSI Approved :: Apache Software License',
4448
'Operating System :: OS Independent',
4549
'Programming Language :: Python',
46-
'Framework :: Django',
50+
'Programming Language :: Python :: 2.6',
51+
'Programming Language :: Python :: 2.7',
4752
]
4853
)

0 commit comments

Comments
 (0)