ajknzhol
ajknzhol

Reputation: 6450

Download URL for PyPi Package

I am written a small package and have successfully uploaded the package to pypi but when i do to install using pip, this traceback comes and it never gets installed.

Downloading/unpacking pytransmit
  Getting page https://pypi.python.org/simple/pytransmit/
  URLs to search for versions for pytransmit:
  * https://pypi.python.org/simple/pytransmit/
  Analyzing links from page https://pypi.python.org/simple/PyTransmit/
  Could not find any downloads that satisfy the requirement pytransmit
Cleaning up...
  Removing temporary dir c\temp\pip_build_dd...
No distributions at all found for pytransmit
Exception information:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
    status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 270, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "C:\Python27\lib\site-packages\pip\req.py", line 1157, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File "C:\Python27\lib\site-packages\pip\index.py", line 285, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
DistributionNotFound: No distributions at all found for pytransmit

How shall i make it installable using pip.

Upvotes: 1

Views: 1780

Answers (1)

Bibhas Debnath
Bibhas Debnath

Reputation: 14939

You don't have any files to download. You can follow the official tutorial and upload your package files.

Essencially you need to register your package first -

python setup.py register

and then upload the distributables -

python setup.py sdist bdist_wininst upload

Upvotes: 2

Related Questions