Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax package version format checking when downloading from git-based urls #53

Open
tahalukmanji opened this issue Jan 8, 2016 · 0 comments

Comments

@tahalukmanji
Copy link

Some packages have a versioning system like -. and this may be due to the fact that their version starts from 0 and hence does not need to put a zero after the hyphen.

Example:

Traceback (most recent call last):
File "/usr/local/bin/pip2pi", line 11, in
sys.exit(pip2pi())
File "/usr/local/lib/python2.7/site-packages/libpip2pi/commands.py", line 510, in pip2pi
res = _dir2pi(option, subcmd_argv)
File "/usr/local/lib/python2.7/site-packages/libpip2pi/commands.py", line 290, in _dir2pi
pkg_name, pkg_rest = file_to_package(pkg_basename, pkgdir)
File "/usr/local/lib/python2.7/site-packages/libpip2pi/commands.py", line 123, in file_to_package
raise InvalidFilePackageName(file, basedir)
libpip2pi.commands.InvalidFilePackageName: unexpected file name: 'xfl-.06.zip' (not in 'pkg-name-version.xxx' format; found in directory: '/root/pypi_copy/var/www/packGeppers')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant