GithubHelp home page GithubHelp logo

uploading to PyPI about ansible-cmdb HOT 4 CLOSED

fboender avatar fboender commented on July 24, 2024
uploading to PyPI

from ansible-cmdb.

Comments (4)

fboender avatar fboender commented on July 24, 2024

Hey Shirou!

Thanks for the suggestion! I think I will upload to PyPi as using pip is quite convenient to install Python programs., It's currently not the highest priority so it might take a few days/weeks.

from ansible-cmdb.

fboender avatar fboender commented on July 24, 2024

Hey!

I've tried to package up ansible-cmdb for PyPi, but have come to the conclusion that python packaging is horribly inflexible (and quite frankly broken). I'm pretty sure I could get it to work, but it doesn't seem worth the effort to do or maintain.

from ansible-cmdb.

fboender avatar fboender commented on July 24, 2024

After much work and fighting with python packaging I've finally managed to make it work with the other packaged release forms, only to run into the fact that you're not allowed to re-upload a faulty package to PyPi (http://comments.gmane.org/gmane.comp.python.distutils.devel/22739)

Given the current horrible state of Python packaging, I've decided to not support any form of python packaging. As such, I won't be uploading packages to Pypi. I also won't accept any merge requests dealing with Python packaging.

from ansible-cmdb.

benkonrath avatar benkonrath commented on July 24, 2024

Sorry to hear about your bad experience with setting up ansible-cmdb for pypi. There are definitely issues with Python packaging but things are better than they have been in the past. I personally haven't had the same negative experience as you so I'm not turned off the process.

Thanks for merging the setup.py (and for fixing the bug(s) in it :) ). This allows people who use pip to install with a github url so we're not cut off.

To me it makes sense that pypi doesn't allow you to re-upload a faulty package because you would be re-using the same version number for two different software releases. You see this pattern in most hosted software platforms: from CDNs to Linux distro packaging. The link you posted does actually have a solution for this particular problem but I guess you'd have to bump the minor version number (e.g. 1.6.1 or something).

We all really appreciate that you shared this very useful piece of software. Having ansible-cmdb on pypi has the potential to reach more users by allowing users to install it very quickly (i.e. pip install ansible-cmdb). But if you're not interested in dealing with pypi, that's definitely your choice to make. Thanks again for merging the setup.py.

from ansible-cmdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.