Skip to content

Commit

Permalink
fix installation error: declare cornet package
Browse files Browse the repository at this point in the history
Before, find_packages looked only inside the `cornet` directory, declaring it as the root and making `import cornet` fail after a pip install.
This change sets the exported packages to only `cornet` and implicitly its children which remedies this issue.
  • Loading branch information
mschrimpf authored Oct 23, 2019
1 parent f08270a commit 07d2226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author="Jonas Kubilius, Martin Schrimpf",
author_email='[email protected], [email protected]',
url='https://github.com/dicarlolab/CORnet',
packages=find_packages('cornet'),
packages=['cornet'],
include_package_data=True,
install_requires=requirements,
license="GNU GPL v3",
Expand Down

0 comments on commit 07d2226

Please sign in to comment.