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

docs: post install hook #92

Closed
ghost opened this issue Oct 18, 2013 · 4 comments
Closed

docs: post install hook #92

ghost opened this issue Oct 18, 2013 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 18, 2013

Originally reported by: thomas-guettler (Bitbucket: thomas-guettler, GitHub: Unknown)


the current documentation does not contain "post install":

http://pythonhosted.org/setuptools/search.html?q=post+install

Please explain in the docs how to create a post install hook.

Is it still necessary to subclass the cmdclass like in this example?

http://stackoverflow.com/a/1321345/633961


@ghost
Copy link
Author

ghost commented Oct 20, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Hi Thomas.

To the best of my knowledge, setuptools does not provide a post-install hook. The technique suggested in the SO ticket you referenced should be adequate.

I'm not personally aware of any attempts to add a post-install hook or what challenges such a hook might elicit, but it does seem like a reasonable feature to expect from a packaging system.

There are efforts currently underway to make Python packaging more declarative (and less imperative, as a post-install hook would be), so such a feature might be in conflict with those efforts.

Nevertheless, such a feature at this stage should probably happen at a higher level, probably in distutils sig until a consensus on implementation can be agreed by the community.

@ghost
Copy link
Author

ghost commented Oct 21, 2013

Original comment by thomas-guettler (Bitbucket: thomas-guettler, GitHub: Unknown):


My bug report was about the missing documentation. I can live without a post-install hook.

But the documentation should state it.

@ghost
Copy link
Author

ghost commented Oct 21, 2013

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


I see. Yes, perhaps that makes sense, although this functionality seems like it might be better documented in a wiki than in official documentation, there is no such resource established.

Thomas, would you be willing to draft the docs and put together a pull request?

@ghost
Copy link
Author

ghost commented Jan 17, 2016

Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):


Closing as interest seems to have waned.

@ghost ghost added major bug labels Mar 29, 2016
@ghost ghost closed this as completed Mar 29, 2016
jaraco added a commit that referenced this issue Dec 29, 2021
sysconfig: use get_makefile_filename() from stdlib sysconfig
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants