Closed njbooher closed 3 years ago
Can you please brief me about the deleted files?
Also, Sorry for not adding import inside the if condition.
The deleted files are the contents of the build
, dist
, and py_packman.egg-info
directories. These directories are automatically generated by setuptools when you run python setup.py install
or similar. They don't need to be stored in the repository.
The build directory being in the repository is causing an issue when the server installs the package in a virtual environment. python setup.py install
sees that there's already a build
directory and installs the files from it rather than from the packman
directory. This is a problem because the build
directory in the directory is currently out of date.
The easiest way to resolve this is to not store the build directory in the repository at all.
Thank you. Will this affect the twine upload? Because every time I upload a new version on PyPI, it requires me to match all the previous versions with the existing ones on the PyPI.
If this will not create any problems with PyPI (pip), I will go ahead with the merge.
I don't think it will affect it. Make a new release after merging to test.
Fixes:
build/lib/packman/bin/PACKMAN.py
is out of sync withpackman/bin/PACKMAN.py
and setup.py is preferring the stale copy of it from the build directory over the up to date one