Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add find_packages() to setup.py #2

Merged
merged 2 commits into from Nov 1, 2019
Merged

Conversation

@ksamuel
Copy link
Contributor

ksamuel commented Nov 1, 2019

In the current state of the package, pip install pythonfuzz results in an empty install: the package and its dependencies are indeed downloaded and there are no error, but no "pythonfuzz" package is created anywhere in the PYTHONPATH. As a consequence, import pythonfuzz results in an ImportError.

You can easily miss that if you tried to import it in your project directory, as the current dir is always part of the PYTHONPATH and so it would seem it works for you.

However, nobody else can pip install then use PythonFuzz.

I just added a line in the setup.py that tells it to recursively find all importable packages except "examples" in the main directory. You'll need to upload this new version on pypi.org.

@yevgenypats
Copy link
Contributor

yevgenypats commented Nov 1, 2019

@ksamuel Thanks you!! good catch.

@yevgenypats yevgenypats merged commit a5c7e6b into fuzzitdev:master Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.