Package: pypi-uploader2
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.Description: UNKNOWN
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Description-Content-Type: ### FORKED FROMhttps://github.com/ignacysokolowski/pypi-uploader#### Fixed AttributeError: Module Pip has no attribute ‘main’PyPI UploaderUpload source distributions of your requirements to your PyPI server.The problemIf you are using a custom PyPI server as a proxy and want to upload some
packages there, it’s not easy.  For each package, you need to download its
source and upload it usingsetup.pyscript:# Uploading requests==2.0.0$gitclonehttps://github.com/kennethreitz/requests$cdrequests$gitcheckoutv2.0.0# Assuming you have 'internal' index-server configured in your '~/.pypirc'.$pythonsetup.pysdistupload-rinternal# Uploading coverage==3.5$cd..$gitclonehttps://github.com/nedbat/coveragepy$cdcoveragepy$gitcheckoutcoverage-3.5$pythonsetup.pysdistupload-rinternalYou could also download the packages directly into the PyPI’s index directory.$sshpypi-mirror.yourdomain.com$pipinstallrequests==2.0.0coverage==3.5-d~/.packagesIf there’s more than one package, you could use a requirements file.$scprequirements.txtpypi-mirror.yourdomain.com:.$sshpypi-mirror.yourdomain.com$pipinstall-rrequirements.txt-d~/.packagesBut it’s still too much.  You should be able to do it with one command.
And what if you don’t have SSH access to the PyPI server host?The solutionOne command for download and upload.Upload packages by name$pypiuploadpackagesmock==1.0.1requests==2.2.1-iinternalUpload packages from requirements file$pypiuploadrequirementsrequirements.txt-iinternalUpload source distribution files$pypiuploadfilespackages/mock-1.0.1.tar.gz\packages/requests-2.2.1-py2.py3-none-any.whl-iinternalMore options$pypiupload--help$pypiupload<command>--helpSupported PyPI serversTested only onpypiserver.InstallationInstall from PyPI:$ pip install pypi-uploaderOr go to the root directory withsetup.pyscript and install it:$ python setup.py installDocumentationDocumentation is available athttps://pypi-uploader.readthedocs.orgSourceSource is available athttps://github.com/ignacysokolowski/pypi-uploaderLicensePyPI Uploader is licensed under the MIT license.ChangelogVersion 1.1.0Adapt to newer versions of pip: usepip downloadinstead ofpip installfor downloading packages, and--no-binary:all:instead
of--no-use-wheelto not use wheel archives.Version 1.0.0Added--no-use-wheeloptionVersion 0.1.0First releaseIssues and contributingPlease report any issues on GitHub athttps://github.com/ignacysokolowski/pypi-uploader/issuesOr contribute by submitting a pull request with your changes following these
rules:FollowPEP 8rulesFollowPEP 257rulesFollow The Zen of PythonTest your commitsWrite meaningful commit messagesKeep the documentation up-to-dateTo run tests and build the docs, you have to install additional packages:$ python setup.py develop
$ pip install -r requirements_dev.txtRunning tests:$ toxBuilding documentation:$ cd docs
$ make html