Skip to content

Commit

Permalink
Make installable as an sdist.
Browse files Browse the repository at this point in the history
 * don’t try to read README.md which isn’t in the sdist
 * auto-detect packages (for sub-folders)
 * explicitly list the JS file (as a globbing pattern)
  • Loading branch information
jaylett committed May 1, 2015
1 parent 70b0af5 commit d06c218
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
author='Jason Goldstein',
author_email='[email protected]',
url='https://github.com/theatlantic/django-autosave',
packages=['autosave', ],
package_data={ 'autosave': ['static/*',] },
packages=find_packages(),
package_data={ 'autosave': ['static/autosave/js/*',] },
description='Generic autosave for the Django Admin.',
long_description=open('README.md').read(),
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
Expand Down

0 comments on commit d06c218

Please sign in to comment.