Skip to content

Commit d06c218

Browse files
committed
Make installable as an sdist.
* 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)
1 parent 70b0af5 commit d06c218

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
author='Jason Goldstein',
1414
author_email='[email protected]',
1515
url='https://github.com/theatlantic/django-autosave',
16-
packages=['autosave', ],
17-
package_data={ 'autosave': ['static/*',] },
16+
packages=find_packages(),
17+
package_data={ 'autosave': ['static/autosave/js/*',] },
1818
description='Generic autosave for the Django Admin.',
19-
long_description=open('README.md').read(),
2019
classifiers=[
2120
'Environment :: Web Environment',
2221
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)