Skip to content

Add package to pypi #99

Closed as not planned
Closed as not planned

Description

@billyshambrook

Hey, would it be possible to get this package into pypi?

We currently download all our other python dependencies from pypi, but with this package, we have had to fork it and upload it to our own internal pypi server. Thanks

Activity

  1. manneohrstrom commented on Jan 20, 2016

    @manneohrstrom
    Contributor

    Hi! If you are using pip, you can do pip install git+git://github.com/shotgunsoftware/python-api.git. Is this an option at all? For more info, see https://github.com/shotgunsoftware/python-api#installing-with-pip

    I will reach out to our engineers and PMs and see what their thoughts are about pushing to pypi.

    Thanks!
    Manne

  2. taiello commented on Jan 21, 2016

    @taiello

    Hi, fwiw, we do the pip install approach and it works fine. That said, we would also be in support of adding the API to pypi.

  3. kporangehat commented on Jan 21, 2016

    @kporangehat

    Hey guys,

    We're looking into this now. There's a few things we need to sort but I think we can make it happen. Will update shortly!

    cheers,
    kp

  4. kporangehat commented on Nov 1, 2016

    @kporangehat

    We haven't given up on this. Our first focus along these lines was moving our documentation to sphinx. We'll get back to this one shortly but as a reminder, in the meantime it's currently available via pip directly from our repo using:

    pip install git+git://github.com/shotgunsoftware/python-api.git@v3.0.32

    which is also pretty easy 😸 .

  5. YKdvd commented on Jan 23, 2018

    @YKdvd

    Any update on this? While doing the manual pip install directly from github works, there are cases where this isn't a great fit. For instance, "pip-compile" (from the pip-tools package) to manage pip requirement files only works with GitHub URLs using the "editable" (-e) syntax, which may not be desirable, and also breaks with pip's "--target" option.

    Are there legal/licensing considerations with publishing to PyPI that don't apply to Github, or is it a matter of having PyPI submission incorporated into your build/deploy process? Having it on PyPI would be nice.

  6. ricekab commented on Jan 4, 2019

    @ricekab

    FWIW, we are running a private PyPI server locally and I just had to update the setup.py slightly to make it work. These are in my pull request (#184), although perhaps the gitignore addition is unwanted.

  7. nzanepro commented on Sep 28, 2020

    @nzanepro

    bump Please revisit this issue. it would be really fantastic to have this hosted on PyPi for CI/CD purposes.

  8. AWhetter commented on Jul 28, 2021

    @AWhetter

    There's a couple of things that prevent pip install-ing from github being a good option for us.
    We don't have internet access, and so retrieving a new version is a convoluted and manual process. We can then package and upload it to our internal devpi server, but if shotgun were available on PyPi then devpi would be mirroring the shotgun on PyPi automatically and there would be no manual step required.
    Even if we did have internet access, the upload to a devpi server has become a requirement to allow shotgun to be properly specified as a dependency in our packages. It used to be the case that you could specify dependencies living on github through the dependency_link argument to setuptools. But in newer versions of pip, that argument is now ignored (https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#dependencies-that-aren-t-in-pypi).

    If it helps, there's Github Actions available to automate the process of releasing to PyPi when a tagged commit is pushed: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

  9. michaelkozakovsc commented on Dec 17, 2021

    @michaelkozakovsc

    Bump! My org doesn't allow requirements.txt files with git links, so would really appreciate a pypi distribution!

  10. AWhetter commented on Aug 19, 2022

    @AWhetter

    I've started uploading shotgun to PyPI myself (https://pypi.org/project/shotgun-api3/) from https://github.com/AWhetter/shotgun_api3. I'll happily give upload permissions to the shotgun team if they would like to manage these uploads themselves.

  11. darkvertex commented on Apr 15, 2024

    @darkvertex

    @AWhetter care to refresh it? it's a couple of releases behind.

  12. carlos-villavicencio-adsk commented on Apr 22, 2024

    @carlos-villavicencio-adsk
    Contributor

    Hello folks. Unfortunately, we don't have plans to have the packages available on PyPi at this point. Sorry if this causes any inconvenience.

  13. darkvertex commented on Jun 2, 2025

    @darkvertex

    @AWhetter you're a few versions behind again. care to push the missing ones to pypi?

  14. AWhetter commented on Jun 18, 2025

    @AWhetter

    @darkvertex Thanks for the reminder. I've uploaded the most recent versions.

  15. nrusch commented on Nov 15, 2025

    @nrusch

    Hi @AWhetter, I've just stumbled on this issue as part of trying to figure out the API version mismatch between the repo and PyPI. Is there any chance you can push the 3.9.0 API to PyPI? The ancient version of six vendored in the older API versions is starting to wreak havoc with more modern dependency chains...

    Thanks very much!

  16. AWhetter commented on Nov 15, 2025

    @AWhetter

    @nrusch Thanks for the reminder. I've uploaded v3.9.0.

  17. nrusch commented on Nov 16, 2025

    @nrusch

    Oh great, thank you for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions