Skip to content Skip to sidebar Skip to footer
Showing posts with the label Setuptools

Install Module To Site-packages With Setuptools

I'm trying to upload a CLI to PIP that, once installed, will run when the user types myscript M… Read more Install Module To Site-packages With Setuptools

How To Install Writable Shared And User Specific Data Files With Setuptools?

I know package_data. But it is for readonly data inside the package. Or is this assumption wrong? H… Read more How To Install Writable Shared And User Specific Data Files With Setuptools?

How To Make Easy_install Execute Custom Commands In Setup.py?

I want my setup.py to do some custom actions besides just installing the Python package (like insta… Read more How To Make Easy_install Execute Custom Commands In Setup.py?

How To Keep Data_files Between Package Updates?

I'm using the data_files argument of setuptools.setup() to install config files to /etc and the… Read more How To Keep Data_files Between Package Updates?

Setup.py Exclude Some Python Files From Bdist

I have a django project with this kind of architecture : setup.py project/ __init__.py manage.py… Read more Setup.py Exclude Some Python Files From Bdist

Pkg_resources.distributionnotfound When Using A Module Installed From A Bdist_rpm

I am trying to create a rpm of a CLI tool I have built. The rpm is being created and is installing … Read more Pkg_resources.distributionnotfound When Using A Module Installed From A Bdist_rpm