{ "info": { "author": "Victor Wang", "author_email": "fengxuanwang0526@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Permission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nDescription: UNKNOWN\nPlatform: UNKNOWN\nClassifier: Environment :: Console\nClassifier: Intended Audience :: Developers\nClassifier: Intended Audience :: System Administrators\nClassifier: License :: OSI Approved :: MIT License\nClassifier: Natural Language :: English\nClassifier: Operating System :: Unix\nClassifier: Programming Language :: Python\nClassifier: Programming Language :: Python :: 2.6\nClassifier: Programming Language :: Python :: 2.7\nClassifier: Programming Language :: Python :: 3.3\nClassifier: Programming Language :: Python :: 3.4\nDescription-Content-Type: ### FORKED FROM https://github.com/ignacysokolowski/pypi-uploader\n\n#### Fixed AttributeError: Module Pip has no attribute 'main'\n\n=============\nPyPI Uploader\n=============\n\n.. image:: https://pypip.in/v/pypi-uploader/badge.png\n :target: https://crate.io/packages/pypi-uploader/\n\n.. image:: https://pypip.in/d/pypi-uploader/badge.png\n :target: https://crate.io/packages/pypi-uploader/\n\nUpload source distributions of your requirements to your PyPI server.\n\n\nThe problem\n===========\n\nIf you are using a custom PyPI server as a proxy and want to upload some\npackages there, it's not easy. For each package, you need to download its\nsource and upload it using ``setup.py`` script:\n\n.. code-block:: bash\n\n # Uploading requests==2.0.0\n $ git clone https://github.com/kennethreitz/requests\n $ cd requests\n $ git checkout v2.0.0\n # Assuming you have 'internal' index-server configured in your '~/.pypirc'.\n $ python setup.py sdist upload -r internal\n # Uploading coverage==3.5\n $ cd ..\n $ git clone https://github.com/nedbat/coveragepy\n $ cd coveragepy\n $ git checkout coverage-3.5\n $ python setup.py sdist upload -r internal\n\nYou could also download the packages directly into the PyPI's index directory.\n\n.. code-block:: bash\n\n $ ssh pypi-mirror.yourdomain.com\n $ pip install requests==2.0.0 coverage==3.5 -d ~/.packages\n\nIf there's more than one package, you could use a requirements file.\n\n.. code-block:: bash\n\n $ scp requirements.txt pypi-mirror.yourdomain.com:.\n $ ssh pypi-mirror.yourdomain.com\n $ pip install -r requirements.txt -d ~/.packages\n\nBut it's still too much. You should be able to do it with one command.\nAnd what if you don't have SSH access to the PyPI server host?\n\n\nThe solution\n============\n\nOne command for download and upload.\n\n\nUpload packages by name\n-----------------------\n\n.. code-block:: bash\n\n $ pypiupload packages mock==1.0.1 requests==2.2.1 -i internal\n\n\nUpload packages from requirements file\n--------------------------------------\n\n.. code-block:: bash\n\n $ pypiupload requirements requirements.txt -i internal\n\n\nUpload source distribution files\n--------------------------------\n\n.. code-block:: bash\n\n $ pypiupload files packages/mock-1.0.1.tar.gz \\\n packages/requests-2.2.1-py2.py3-none-any.whl -i internal\n\n\nMore options\n------------\n\n.. code-block:: bash\n\n $ pypiupload --help\n $ pypiupload --help\n\n\nSupported PyPI servers\n======================\n\nTested only on `pypiserver `_.\n\n\nInstallation\n============\n\nInstall from PyPI::\n\n $ pip install pypi-uploader\n\nOr go to the root directory with **setup.py** script and install it::\n\n $ python setup.py install\n\n\nDocumentation\n=============\n\nDocumentation is available at https://pypi-uploader.readthedocs.org\n\n\nSource\n======\n\nSource is available at https://github.com/ignacysokolowski/pypi-uploader\n\n\nLicense\n=======\n\nPyPI Uploader is licensed under the MIT license.\n\n\nChangelog\n=========\n\nVersion 1.1.0\n-------------\n\n* Adapt to newer versions of pip: use ``pip download`` instead of\n ``pip install`` for downloading packages, and ``--no-binary :all:`` instead\n of ``--no-use-wheel`` to not use wheel archives.\n\nVersion 1.0.0\n-------------\n\n* Added ``--no-use-wheel`` option\n\nVersion 0.1.0\n-------------\n\nFirst release\n\n\nIssues and contributing\n=======================\n\nPlease report any issues on GitHub at\nhttps://github.com/ignacysokolowski/pypi-uploader/issues\n\nOr contribute by submitting a pull request with your changes following these\nrules:\n\n* Follow :pep:`8` rules\n* Follow :pep:`257` rules\n* Follow The Zen of Python\n* Test your commits\n* Write meaningful commit messages\n* Keep the documentation up-to-date\n\nTo run tests and build the docs, you have to install additional packages::\n\n $ python setup.py develop\n $ pip install -r requirements_dev.txt\n\nRunning tests::\n\n $ tox\n\nBuilding documentation::\n\n $ cd docs\n $ make html\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/victorwang0526/pypi_uploader", "keywords": "", "license": "Copyright (c) 2019 Victor Wang", "maintainer": "", "maintainer_email": "", "name": "pypi-uploader2", "package_url": "https://pypi.org/project/pypi-uploader2/", "platform": "", "project_url": "https://pypi.org/project/pypi-uploader2/", "project_urls": { "Homepage": "https://github.com/victorwang0526/pypi_uploader" }, "release_url": "https://pypi.org/project/pypi-uploader2/1.1.1/", "requires_dist": [ "requests", "pip (>=8)" ], "requires_python": "", "summary": "Upload source distributions to your PyPI server.", "version": "1.1.1" }, "last_serial": 5485062, "releases": { "1.1.1": [ { "comment_text": "", "digests": { "md5": "414e0db63468277881a3ad5f797ed654", "sha256": "2a81ca79c083bd71992b2b7def930a23600edc62bb2233fd3b51cfa883a222ad" }, "downloads": -1, "filename": "pypi_uploader2-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "414e0db63468277881a3ad5f797ed654", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11665, "upload_time": "2019-07-04T06:11:00", "url": "https://files.pythonhosted.org/packages/a0/7c/5449c86f68eea2de76e6d73fd942b2187d3e4956593313416fab43e6115d/pypi_uploader2-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04bee35cbe6dc2814790a919f405c1e3", "sha256": "70ebb574686d0a31e228e472e19d6a44af615752548349be57c4987428e31ee8" }, "downloads": -1, "filename": "pypi-uploader2-1.1.1.tar.gz", "has_sig": false, "md5_digest": "04bee35cbe6dc2814790a919f405c1e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19608, "upload_time": "2019-07-04T06:11:03", "url": "https://files.pythonhosted.org/packages/b9/f7/adb4c27236e5e9678fa37575b30e077093f53d76f07f6dc5870c2a09265d/pypi-uploader2-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "414e0db63468277881a3ad5f797ed654", "sha256": "2a81ca79c083bd71992b2b7def930a23600edc62bb2233fd3b51cfa883a222ad" }, "downloads": -1, "filename": "pypi_uploader2-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "414e0db63468277881a3ad5f797ed654", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11665, "upload_time": "2019-07-04T06:11:00", "url": "https://files.pythonhosted.org/packages/a0/7c/5449c86f68eea2de76e6d73fd942b2187d3e4956593313416fab43e6115d/pypi_uploader2-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "04bee35cbe6dc2814790a919f405c1e3", "sha256": "70ebb574686d0a31e228e472e19d6a44af615752548349be57c4987428e31ee8" }, "downloads": -1, "filename": "pypi-uploader2-1.1.1.tar.gz", "has_sig": false, "md5_digest": "04bee35cbe6dc2814790a919f405c1e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19608, "upload_time": "2019-07-04T06:11:03", "url": "https://files.pythonhosted.org/packages/b9/f7/adb4c27236e5e9678fa37575b30e077093f53d76f07f6dc5870c2a09265d/pypi-uploader2-1.1.1.tar.gz" } ] }