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

python setup.py <anything> is deprecated #37

Closed
robnagler opened this issue Apr 6, 2019 · 3 comments
Closed

python setup.py <anything> is deprecated #37

robnagler opened this issue Apr 6, 2019 · 3 comments

Comments

@robnagler
Copy link
Member

robnagler commented Apr 6, 2019

pypa/setuptools#1684 talks about deprecating python setup.py test and all other arguments. The plan is to use tox, which we use for testing, but it's unwieldy for other things, like deployment.

Migrate the code out of pysetup into another tool that supports deployment, documentation, etc.

Read the docs build process should be looked, because it calls python setup.py. Perhaps there's a way to just call an arbitrary command or have setup.py do that instead. see https://github.com/rtfd/readthedocs.org/tree/master/readthedocs/doc_builder

See https://github.com/jaraco/skeleton

@robnagler robnagler added the 1 label Apr 6, 2019
@robnagler robnagler self-assigned this Apr 6, 2019
@robnagler robnagler added 2 and removed 1 labels Apr 11, 2019
@jeinstei
Copy link
Member

Given this deprecation, doing a local user install of a module wouldn't work unless the pip metadata was somehow included as well?

In short, pykern-enabled modules REQUIRE installation using pip? I haven't seen anything in a lot of the package guides on how to programaticaly block this using functions in setup.py, but there has to be some way.

@robnagler
Copy link
Member Author

The point of this issue is to move out testing and doc generation from setup.py. Not a rush, because I doubt it will come through.

Installation via pip is not required. Just make sure that python setup.py is run at some point.

@robnagler robnagler removed the 2 label Feb 26, 2022
@robnagler robnagler removed their assignment Mar 14, 2022
@robnagler robnagler changed the title python setup.py <anything> is deprecated 20220630 python setup.py <anything> is deprecated Oct 14, 2022
@robnagler robnagler changed the title 20220630 python setup.py <anything> is deprecated 20230630 python setup.py <anything> is deprecated Oct 14, 2022
@robnagler robnagler changed the title 20230630 python setup.py <anything> is deprecated python setup.py <anything> is deprecated Apr 17, 2023
@robnagler
Copy link
Member Author

#466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants