-
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added better setup.py pieces. Getting ready to push to our PyPi
- Loading branch information
Corey Oordt
committed
Apr 7, 2010
1 parent
fdeb2fc
commit c1c2a72
Showing
3 changed files
with
39 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
include requirements.txt | ||
include NOTICES.txt | ||
include README.txt | ||
include CREDITS.txt | ||
include LICENSE.txt | ||
|
||
recursive-include categories *.html *.txt *.json *.html | ||
|
||
recursive-include editor *.html *.txt *.json *.html *.gif *.png *.css *.js | ||
|
||
recursive-include doc_src *.rst *.txt *.png *.css *.html *.js | ||
include doc_src/Makefile | ||
include doc_src/make.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
django-mptt>=0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,33 @@ | ||
from distutils.core import setup | ||
import categories | ||
import os | ||
|
||
try: | ||
long_description = open('README.txt').read() | ||
except IOError: | ||
long_description = '' | ||
|
||
setup(name='django-categories', | ||
version=categories.get_version(), | ||
description='A way to handle one or more hierarchical category trees in django.', | ||
long_description=long_description, | ||
author='Corey Oordt', | ||
author_email='coordt@washingtontimes.com', | ||
url='http://opensource.washingtontimes.com/projects/django-categories/', | ||
packages=['categories', 'editor'], | ||
classifiers=['Development Status :: 4 - Beta', | ||
'Framework :: Django', | ||
'License :: OSI Approved :: Apache License', | ||
], | ||
) | ||
try: | ||
reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read() | ||
except (IOError, OSError): | ||
reqs = '' | ||
|
||
setup( | ||
name='django-categories', | ||
version=categories.get_version(), | ||
description='A way to handle one or more hierarchical category trees in django.', | ||
long_description=long_description, | ||
author='Corey Oordt', | ||
author_email='coordt@washingtontimes.com', | ||
url='http://opensource.washingtontimes.com/projects/django-categories/', | ||
packages=['categories', 'editor'], | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Framework :: Django', | ||
'License :: OSI Approved :: Apache License', | ||
], | ||
install_requires = reqs, | ||
dependency_links = [ | ||
'http://opensource.washingtontimes.com/static/dist/django-mptt-0.3_pre.tar.gz#md5=2e7bf48ae24958ec3702314506f4fe99', | ||
] | ||
) |