Skip to content

Commit

Permalink
Explicitly list subpackages
Browse files Browse the repository at this point in the history
When the list of packages only included 'web_monitoring', you could import our new subpackages (e.g. `web_monitoring.diff`) from installations that were created via `setup.py develop`, but not `setup.py install` or when installed via pip. Not good!
  • Loading branch information
Mr0grog committed Dec 10, 2019
1 parent 127a924 commit e06c8b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ def cleanup(line):
setup(name='web_monitoring',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=['web_monitoring'],
packages=['web_monitoring',
'web_monitoring.diff',
'web_monitoring.cli',
'web_monitoring.diff_server'],
package_data={'web_monitoring': ['example_data/*',
'web_monitoring/tests/cassettes/*']},
scripts=glob.glob('scripts/*'),
Expand Down

0 comments on commit e06c8b3

Please sign in to comment.