Skip to content
This repository was archived by the owner on Jun 16, 2020. It is now read-only.

Comments

Publish but do not install tests#78

Closed
polyzen wants to merge 1 commit intonbedos:developfrom
polyzen:donotinstalltests
Closed

Publish but do not install tests#78
polyzen wants to merge 1 commit intonbedos:developfrom
polyzen:donotinstalltests

Conversation

@polyzen
Copy link
Contributor

@polyzen polyzen commented Nov 21, 2018

With this it seems tests have to be run with python -m unittest discover tests. Perhaps I am missing something?

As an example:
https://github.com/sphinx-doc/sphinx/blob/5d2d4e04778c5cbdb89c29d62d5a30cc2c23e76d/setup.py#L214
https://github.com/sphinx-doc/sphinx/blob/5d2d4e04778c5cbdb89c29d62d5a30cc2c23e76d/MANIFEST.in#L25

Edit: Referencing #77

@polyzen
Copy link
Contributor Author

polyzen commented Nov 21, 2018

jelmer/xandikos#85

Unless you as the author do not want tests installed, or the tests take up an excessive amount of space, this PR isn't needed.

@polyzen
Copy link
Contributor Author

polyzen commented Nov 22, 2018

facepalm Removing just 'termtosvg.tests' from packages= accomplishes the same thing.

Edit: Forgot to publish tests again via MANIFEST.in.

@polyzen polyzen changed the title Publish but do not install tests Do not install tests Nov 22, 2018
@polyzen polyzen changed the title Do not install tests Publish but do not install tests Nov 22, 2018
@polyzen
Copy link
Contributor Author

polyzen commented Nov 28, 2018

Something like this may also be needed:
pexpect/ptyprocess@1fa2011

nbedos added a commit that referenced this pull request Dec 2, 2018
@nbedos
Copy link
Owner

nbedos commented Dec 2, 2018

Unless you as the author do not want tests installed, or the tests take up an excessive amount of space, this PR isn't needed.

Thanks, I'm fine with tests being included in the package. It makes it easier to run them once the installation is done.

Something like this may also be needed:
pexpect/ptyprocess@1fa2011

It's now fixed by 213a1b8

@nbedos nbedos closed this Dec 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants