Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS C:UsersDaveDesktopdistributinghellodmt2Distribution> python setup.py register -r https://testpypi.python.org
- i
- running register
- running egg_info
- writing hellodmt2.egg-infoPKG-INFO
- writing top-level names to hellodmt2.egg-infotop_level.txt
- writing dependency_links to hellodmt2.egg-infodependency_links.txt
- reading manifest file 'hellodmt2.egg-infoSOURCES.txt'
- writing manifest file 'hellodmt2.egg-infoSOURCES.txt'
- Traceback (most recent call last):
- File "setup.py", line 14, in <module>
- download_url = "https://github.com/dmt257/hellodmt2/archive/0.1.tar.gz",
- File "C:Python27libdistutilscore.py", line 151, in setup
- dist.run_commands()
- File "C:Python27libdistutilsdist.py", line 953, in run_commands
- self.run_command(cmd)
- File "C:Python27libdistutilsdist.py", line 972, in run_command
- cmd_obj.run()
- File "C:Python27libsite-packagessetuptoolscommandregister.py", line 10, in run
- orig.register.run(self)
- File "C:Python27libdistutilscommandregister.py", line 46, in run
- self._set_config()
- File "C:Python27libdistutilscommandregister.py", line 81, in _set_config
- raise ValueError('%s not found in .pypirc' % self.repository)
- ValueError: https://testpypi.python.org/pypi not found in .pypirc
- PS C:UsersDaveDesktopdistributinghellodmt2Distribution>
- #!/usr/bin/env
- try:
- from setuptools import setup
- except importError:
- from distutils.core import setup
- setup(name = "hellodmt2",
- description = "a source distribution test",
- version = "0.1",
- author = "David",
- author_email = "dmt257257@gmail.com",
- py_modules = ["hellodmt2"],
- url = "https://github.com/dmt257/hellodmt2",
- download_url = "https://github.com/dmt257/hellodmt2/archive/0.1.zip",
- keywords = ["testing"],
- )
- [distutils]
- index-servers=
- pypi
- pypitest
- [pypitest]
- repository = https://testpypi.python.org/pypi
- username = dmt257
- password = mypasswordhere
- [pypi]
- repository = https://pypi.python.org/pypi
- username = dmt257
- password = mypasswordhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement