Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. PS C:UsersDaveDesktopdistributinghellodmt2Distribution> python setup.py register -r https://testpypi.python.org
  2. i
  3. running register
  4. running egg_info
  5. writing hellodmt2.egg-infoPKG-INFO
  6. writing top-level names to hellodmt2.egg-infotop_level.txt
  7. writing dependency_links to hellodmt2.egg-infodependency_links.txt
  8. reading manifest file 'hellodmt2.egg-infoSOURCES.txt'
  9. writing manifest file 'hellodmt2.egg-infoSOURCES.txt'
  10. Traceback (most recent call last):
  11. File "setup.py", line 14, in <module>
  12. download_url = "https://github.com/dmt257/hellodmt2/archive/0.1.tar.gz",
  13. File "C:Python27libdistutilscore.py", line 151, in setup
  14. dist.run_commands()
  15. File "C:Python27libdistutilsdist.py", line 953, in run_commands
  16. self.run_command(cmd)
  17. File "C:Python27libdistutilsdist.py", line 972, in run_command
  18. cmd_obj.run()
  19. File "C:Python27libsite-packagessetuptoolscommandregister.py", line 10, in run
  20. orig.register.run(self)
  21. File "C:Python27libdistutilscommandregister.py", line 46, in run
  22. self._set_config()
  23. File "C:Python27libdistutilscommandregister.py", line 81, in _set_config
  24. raise ValueError('%s not found in .pypirc' % self.repository)
  25. ValueError: https://testpypi.python.org/pypi not found in .pypirc
  26. PS C:UsersDaveDesktopdistributinghellodmt2Distribution>
  27.  
  28. #!/usr/bin/env
  29. try:
  30. from setuptools import setup
  31. except importError:
  32. from distutils.core import setup
  33.  
  34. setup(name = "hellodmt2",
  35. description = "a source distribution test",
  36. version = "0.1",
  37. author = "David",
  38. author_email = "dmt257257@gmail.com",
  39. py_modules = ["hellodmt2"],
  40. url = "https://github.com/dmt257/hellodmt2",
  41. download_url = "https://github.com/dmt257/hellodmt2/archive/0.1.zip",
  42. keywords = ["testing"],
  43.  
  44. )
  45.  
  46. [distutils]
  47. index-servers=
  48. pypi
  49. pypitest
  50.  
  51. [pypitest]
  52. repository = https://testpypi.python.org/pypi
  53. username = dmt257
  54. password = mypasswordhere
  55.  
  56. [pypi]
  57. repository = https://pypi.python.org/pypi
  58. username = dmt257
  59. password = mypasswordhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement