python - Pypi & PyPi Test Could not find any downloads that satisfy the requirement -


i trying release software through pypi, , while pip can search library, unable download library.

i suspect issue setup.py file,

doclines = __doc__.split("\n") open('requirements.txt') f:     required = f.read().splitlines()  setup(     name='directory_caching',     packages=find_packages(),     version='1.0.6',     description = doclines[0],     long_description = "\n".join(doclines[2:]),     author='benjamin schollnick',     author_email='benjamin@schollnick.net',     license="mit",     maintainer='benjamin schollnick',     maintainer_email='benjamin@schollnick.net',     platforms=["any"],     url='https://github.com/bschollnick/directory_caching',     download_url = 'https://github.com/bschollnick/directory_caching/tarball/1.05',     #install_requires=required,     #requires=required,     keywords = ['caching', 'files', 'directories', 'scandir', 'naturalsort'],     classifiers=filter(none, classifiers.split("\n")), ) 

pypitest accepting file fine, via register, , sdist upload working fine.

-- register

nerv:directory_caching benjamin$ python setup.py register -r pypitest running register running egg_info deleting directory_caching.egg-info/requires.txt writing directory_caching.egg-info/pkg-info writing top-level names directory_caching.egg-info/top_level.txt writing dependency_links directory_caching.egg-info/dependency_links.txt reading manifest file 'directory_caching.egg-info/sources.txt' writing manifest file 'directory_caching.egg-info/sources.txt' running check registering directory_caching https://testpypi.python.org/pypi server response (200): ok nerv:directory_caching benjamin$ python setup.py sdist upload -r pypitest running sdist running egg_info writing directory_caching.egg-info/pkg-info writing top-level names directory_caching.egg-info/top_level.txt writing dependency_links directory_caching.egg-info/dependency_links.txt reading manifest file 'directory_caching.egg-info/sources.txt' writing manifest file 'directory_caching.egg-info/sources.txt' warning: sdist: standard file not found: should have 1 of readme, readme.rst, readme.txt  running check creating directory_caching-1.0.503 creating directory_caching-1.0.503/directory_caching creating directory_caching-1.0.503/directory_caching.egg-info making hard links in directory_caching-1.0.503... hard linking setup.cfg -> directory_caching-1.0.503 hard linking setup.py -> directory_caching-1.0.503 hard linking directory_caching/__init__.py -> directory_caching-1.0.503/directory_caching hard linking directory_caching/directory_caching.py -> directory_caching-1.0.503/directory_caching hard linking directory_caching.egg-info/pkg-info -> directory_caching-1.0.503/directory_caching.egg-info hard linking directory_caching.egg-info/sources.txt -> directory_caching-1.0.503/directory_caching.egg-info hard linking directory_caching.egg-info/dependency_links.txt -> directory_caching-1.0.503/directory_caching.egg-info hard linking directory_caching.egg-info/top_level.txt -> directory_caching-1.0.503/directory_caching.egg-info copying setup.cfg -> directory_caching-1.0.503 writing directory_caching-1.0.503/setup.cfg creating tar archive removing 'directory_caching-1.0.503' (and under it) running upload submitting dist/directory_caching-1.0.503.tar.gz https://testpypi.python.org/pypi server response (200): ok nerv:directory_caching benjamin$ python setup.py register -r pypitest running register running egg_info writing directory_caching.egg-info/pkg-info writing top-level names directory_caching.egg-info/top_level.txt writing dependency_links directory_caching.egg-info/dependency_links.txt reading manifest file 'directory_caching.egg-info/sources.txt' writing manifest file 'directory_caching.egg-info/sources.txt' running check registering directory_caching https://testpypi.python.org/pypi server response (200): ok 

upload

nerv:directory_caching benjamin$ python setup.py sdist upload -r pypitest running sdist running egg_info writing directory_caching.egg-info/pkg-info writing top-level names directory_caching.egg-info/top_level.txt writing dependency_links directory_caching.egg-info/dependency_links.txt reading manifest file 'directory_caching.egg-info/sources.txt' writing manifest file 'directory_caching.egg-info/sources.txt' warning: sdist: standard file not found: should have 1 of readme, readme.rst, readme.txt  running check creating directory_caching-1.0.504 creating directory_caching-1.0.504/directory_caching creating directory_caching-1.0.504/directory_caching.egg-info making hard links in directory_caching-1.0.504... hard linking setup.cfg -> directory_caching-1.0.504 hard linking setup.py -> directory_caching-1.0.504 hard linking directory_caching/__init__.py -> directory_caching-1.0.504/directory_caching hard linking directory_caching/directory_caching.py -> directory_caching-1.0.504/directory_caching hard linking directory_caching.egg-info/pkg-info -> directory_caching-1.0.504/directory_caching.egg-info hard linking directory_caching.egg-info/sources.txt -> directory_caching-1.0.504/directory_caching.egg-info hard linking directory_caching.egg-info/dependency_links.txt -> directory_caching-1.0.504/directory_caching.egg-info hard linking directory_caching.egg-info/top_level.txt -> directory_caching-1.0.504/directory_caching.egg-info copying setup.cfg -> directory_caching-1.0.504 writing directory_caching-1.0.504/setup.cfg creating tar archive removing 'directory_caching-1.0.504' (and under it) running upload submitting dist/directory_caching-1.0.504.tar.gz https://testpypi.python.org/pypi server response (200): ok 

if run verbose run on pip, following errors appear problem?

skipping link https://testpypi.python.org/pypi/directory_caching/1.0.504 (from https://testpypi.python.org/pypi/directory_caching); unknown archive format: .504 skipping link https://testpypi.python.org/pypi/directory_caching/1.0.503 (from https://testpypi.python.org/pypi/directory_caching); unknown archive format: .503 skipping link https://testpypi.python.org/pypi/directory_caching/1.0.502 (from https://testpypi.python.org/pypi/directory_caching); unknown archive format: .502 skipping link https://testpypi.python.org/pypi/directory_caching/1.0.501 (from https://testpypi.python.org/pypi/directory_caching); unknown archive format: .501 skipping link https://testpypi.python.org/pypi/directory_caching/1.0.51 (from https://testpypi.python.org/pypi/directory_caching); unknown archive format: .51 skipping link https://testpypi.python.org/pypi/directory_caching/1.0.5 (from https://testpypi.python.org/pypi/directory_caching); unknown archive format: .5 

i have setup tags @ github (https://github.com/bschollnick/directory_caching), , using links in pypi or pypi test appear work fine. suggestions?

i'm not sure, basic setup use though no problem.

import os distutils.core import setup  def read(fname):     return open(os.path.join(os.path.dirname(__file__), fname)).read()  setup(   name = 'name',   packages = ['package'],   version = '1.0.0',   author = 'your name',   author_email = 'some_email@gmail.com',   url = 'github',    download_url = 'git download link',    keywords = ['keywords'],   description = 'short description',    long_description = read('readme.txt'),   classifiers = [], ) 

Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -