setup.py name doesn't match pypi name
sirex opened this issue · 2 comments
sirex commented
I'm using zc.buildout and since egg name specified in setup.py
doesn't much name specified in pypi, I get this error:
Getting distribution for 'djangoajax'.
Installing djangoajax 2.2.12
Caused installation of a distribution:
django-ajax 2.2.12
with a different project name.
Got None.
Egg name in setup.py
must match pypi name.
As a workaround in my setup.py
I did this:
setup(
install_requires=[
'django-ajax',
],
dependency_links = [
'git+https://github.com/yceruto/django-ajax.git@2.2.12#egg=django-ajax-2.2.12',
],
)
marcbelmont commented
Additionally, when you do pip freeze you get
django-ajax==2.2.12
instead of
djangoajax==2.2.12
pip install django-ajax installs another library..