Skip to content

Don't include test module when installing#301

Closed
bwhmather-joivy wants to merge 1 commit intosendgrid:masterfrom
bwhmather-joivy:exclude-tests-from-install
Closed

Don't include test module when installing#301
bwhmather-joivy wants to merge 1 commit intosendgrid:masterfrom
bwhmather-joivy:exclude-tests-from-install

Conversation

@bwhmather-joivy
Copy link
Copy Markdown

Currently, when the sendgrid package is installed, calling import test will import the sendgrid module.
This is likely to cause conflicts with other packages that use a top-level test module.

This patch adds the test module to the exclude list in setup.py so that it won't be bundled in built packages. This will fix the namespace issue, and reduce the installed size. It should not affect running the tests, as the tests will only ever be run from the unbuilt source.

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Mar 29, 2017
@SendGridDX
Copy link
Copy Markdown

SendGridDX commented Mar 29, 2017

CLA assistant check
All committers have signed the CLA.

@SendGridDX
Copy link
Copy Markdown

Helo @bwhmather-joivy,

Thank you for the PR!

Unfortunately, this is a duplicate: #300

That said, we greatly appreciate your support and look forward to future contributions!

With Best Regards,

Elmer

@SendGridDX SendGridDX closed this Mar 29, 2017
@SendGridDX SendGridDX added status: duplicate duplicate issue and removed status: code review request requesting a community code review or review from Twilio labels Mar 29, 2017
@bwhmather-joivy
Copy link
Copy Markdown
Author

Oh dear, sorry. Only checked the open issues.
Thanks for reviewing. Please do merge #300!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: duplicate duplicate issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants