-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
tests, test? #133
Comments
|
The only reason I know of for naming the folder |
Yeah right. It should be a pypa/setuptools issue, I opened a PR there. Meanwhile, there is still something sampleproject could do: maybe add a include line to |
The PR there (pypa/setuptools#2494) got closed for some... technical reasons, it is complicated to add So I guess here's what we can do now:
|
The directory in this project should probably just change to |
pypa/sampleproject and Python Packaging User Guide's "Packaging Python Projects" page suggest the unit test folder be named
tests
. But by default, all files matching the pattern test/test*.py, not tests/test*.py, are included in the source distribution. Indeed, I renamedtests
totest
in sampleproject, thenpython setup.py sdist bdist_wheel
will create adist
package that includes test/test*.py.Or, did sampleproject intentionally change the name to avoid sdist's inclusion of the test files? That'd be a weird way to do so. It would be better to rename it back to
test
and explicitly put anexclude
line inMANIFEST.in
if you want the exclusion.The text was updated successfully, but these errors were encountered: