-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding files needed for upload to PyPI. Thanks to https://github.com/…
…smacker for the setup file!
- Loading branch information
Rune Kaagaard
committed
Nov 23, 2011
1 parent
5a38613
commit bfe14bd
Showing
3 changed files
with
69 additions
and
1 deletion.
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,2 @@ | ||
include README.markdown | ||
recursive-include filtrate *.py *.js *.css *.jpg *.png *.gif *.html |
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
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,26 @@ | ||
#!/usr/bin/env python | ||
# coding=utf8 | ||
|
||
from setuptools import setup, find_packages | ||
import os | ||
|
||
static_files = [] | ||
for root, subFolders, files in os.walk("filtrate/static"): | ||
for f in files: | ||
path = os.path.join(root, f) | ||
# Remove 'filtrate/' | ||
path = path[9:] | ||
static_files.append(path) | ||
|
||
setup( | ||
name='django-admin-filtrate', | ||
version='0.1.0', | ||
author='Rune Kaagaard', | ||
author_email='[email protected]', | ||
description='This Django app makes it easier to create custom filters in the change list of Django Admin and supplies a TreeFilter and a DateRangeFilter too.', | ||
long_description=open('README.markdown').read(), | ||
license='MIT', | ||
url='https://github.com/runekaagaard/django-admin-filtrate', | ||
packages=find_packages(), | ||
package_data = {'filtrate': ['templates/admin/*'] + static_files }, | ||
) |