Zulko/vapory

`pip install` installs old `vapory` version

arizhakov opened this issue · 3 comments

Starting with a clean (vapory-free) environment, I just ran pip install vapory and got Successfully installed vapory-0.1.1. When I ran my code (that uses vapory), I got a cannot import name VertexVector error. Uninstalling from pip, then git clone-ing the latest Zulko/vapory repo branch, and running python setup.py install, I get the last line of the console output as Finished processing dependencies for Vapory==0.1.1. pip list shows Vapory (0.1.1). pip search vapory shows Vapory (0.1.01) - 3D rendering with Python and POV-Ray /n INSTALLED: 0.1.1 /n LATEST: 0.1.01. When I run the same code as before, there is no VertexVector error and code executes fine.

It seems like there is an issue with pip containing an old branch of Zulko/vapory repo. Thus, 2 questions:

  1. Any way to update pip to reflect this latest Zulko/vapory repo branch?
  2. Any way to include Zulko/vapory repo in conda?

Will this be fixed at some point?

Hey @Zulko , the fix is easy, just download and unzip vapory-master and change «path/to/library/» to the path in which the library sits:

cd «path/to/library/»
echo "__version__ = '0.2.0'" > vapory/version.py
pip install twine
python setup.py sdist
twine upload dist/vapory-0.2.0.tar.gz

this keeps popping up. I wanted to create an online video series using vapory. I can only really do that if you upload the full version. Otherwise I'll upload another repo to pypi that I'll keep up to date and direct users to it. I really don't want to do that. Let me know what you want.

I uploaded a new version. For all people running into this issue pip install vapory-git. If the PyPI version gets upgraded I'll remove this package.