Category : packaging

When I run python setup.py sdist in my project directory and check the contents with tar –list -f .distmy_project_name-1.0.tar.gz I see one important python file (manage.py) and a couple of directories templates, which contains .html files, and static, containing .css files, are missing. I’ve looked at many questions: Q1 Q2 Q3 Q4 but adding a ..

Read more

I’m learning how to distribute python packages using setuptools and I have a problem. setuptools is setting the name of the folder containing a single python file as the name of my package. Below is the structure of my repository: gerador_endereco/ — setup.py — my_package/ — __init__.py — gerador_endereco.py My setup.py is: setup( name=’gerador_endereco’, version=’1.0.4′, ..

Read more

I have been using setuptools-scm version 6.0.1 for my python project. The project also uses check-manifest with a pre-commit hook. Ever since I upgraded setuptools-scm to 6.3.1, the check-manifest hook has been failing with the following error that looks like it wasn’t able to determine the correct version string from sdist packaging. ERROR Backend subproccess ..

Read more

I have been using setuptools-scm version 6.0.1 for my python project. The project also uses check-manifest with a pre-commit hook. Ever since I upgraded setuptools-scm to 6.3.1, the check-manifest hook has been failing with the following error that looks like it wasn’t able to determine the correct version string from sdist packaging. ERROR Backend subproccess ..

Read more

I did not find any solutions for this on the internet. I am trying to create the Android apk file from my Kivy-Python file on Windows 10. I followed the standard documentation (e.g. this one or this one). I installed buildozer using the Pycharm IDE environment. I open the command box from the path adress ..

Read more