|
1 | 1 | #!/usr/bin/env python |
2 | 2 | from setuptools import setup, find_packages |
| 3 | +from os.path import dirname, join |
3 | 4 | import sys, os |
4 | 5 |
|
5 | 6 | # When creating the sdist, make sure the django.mo file also exists: |
|
14 | 15 |
|
15 | 16 | setup( |
16 | 17 | name='django-polymorphic-tree', |
17 | | - version='0.8.4', |
| 18 | + version='0.8.5', |
18 | 19 | license='Apache License, Version 2.0', |
19 | 20 |
|
20 | 21 | install_requires=[ |
21 | | - 'Django>=1.3.0', |
22 | 22 | 'django-polymorphic>=0.3.1', |
23 | 23 | 'django-mptt>=0.5.1', |
24 | 24 | 'django-tag-parser>=1.0.0', |
25 | 25 | ], |
| 26 | + requires=[ |
| 27 | + 'Django (>=1.3)', # Using staticfiles |
| 28 | + ], |
26 | 29 | 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(), |
28 | 31 |
|
29 | 32 | author='Diederik van der Boor', |
30 | 33 | |
|
39 | 42 | classifiers=[ |
40 | 43 | 'Development Status :: 4 - Beta', |
41 | 44 | 'Environment :: Web Environment', |
| 45 | + 'Framework :: Django', |
42 | 46 | 'Intended Audience :: Developers', |
43 | 47 | 'License :: OSI Approved :: Apache Software License', |
44 | 48 | 'Operating System :: OS Independent', |
45 | 49 | 'Programming Language :: Python', |
46 | | - 'Framework :: Django', |
| 50 | + 'Programming Language :: Python :: 2.6', |
| 51 | + 'Programming Language :: Python :: 2.7', |
47 | 52 | ] |
48 | 53 | ) |
0 commit comments