Giter VIP home page Giter VIP logo

Comments (25)

jayvdb avatar jayvdb commented on July 19, 2024 1

Dummies guide to packaging is to do python setup.py test , ensure that works, and then run PyPI check-manifest to ensure MANIFEST.in is complete, and then python setup.py sdist and use twine to upload it to PyPI.

Then get some python people to build it at home, fix any errors, etc, and then in the next release also do python setup.py bdist_wheel which is better for normal users.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024 1

I realized that I never posted that zfpy is now on conda-forge. Has been for a little while. In fact, if you look here (https://anaconda.org/conda-forge/zfpy) you can see that it already has >600 downloads.

Note that this package is meant to build zfp and install the zfpy Python bindings, so the package is named zfpy.

from zfp.

impredicative avatar impredicative commented on July 19, 2024 1

Please also reserve https://pypi.org/project/zfpy/ to avoid it being misused by someone else.

Done. @lindstro and @GarrettDMorrison are now its Owners.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

Agreed, but unfortunately our Python developer has moved on to another project. Any assistance with this would be appreciated. In case it's helpful, I do have a pypi account.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

I'm afraid I don't have sufficient funding for an FTE, nor do I have enough work to keep a Python developer busy long term.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024

@lindstro Would there be interest in making a conda package for zfp/zfpy instead of pip? Pip is nice for pure python packages, but it's not the best for python packages with special C/C++ dependencies.

If this would be of interest, I think I can direct some effort to this tomorrow.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024

...Although, I agree that a wheel would be good, too.

from zfp.

impredicative avatar impredicative commented on July 19, 2024

@kmpaul Speaking as a user, yes, conda works fine.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

@kmpaul Thanks for the offer! Python is not my strength, and I'm not sure I'm qualified to answer your question. Of course, any contributions that simplify life for our Python users are welcome.

I'm roping @GarrettDMorrison in on this, who is our resident Python expert.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024

I definitely think that a conda forge package for zfp would be loved by many. So, since I'm in a hackathon for the next day (or two), I'll go ahead and start making some progress on this. If the result is something you like, we can transfer ownership.

from zfp.

impredicative avatar impredicative commented on July 19, 2024

As a prospective user, I think transferring ownership to LLNL is important even if it's maintained by the community. It helps with trust. Thanks.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024

Of course! And I'm happy to transfer ownership. I understand that you all might be busy, though, so I happen to have some free cycles at the moment to do it.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

Awesome! Thank you so much for your contributions, Kevin.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024

@lindstro You're more than welcome. Thanks for the awesome zfp package!

Incidentally, who should I list as "conda recipe maintainers"? I need github user IDs for everyone who will be (willing to be) a "maintainer" of this conda recipe.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

I hope you're willing to be one of them :-) Please add me and @GarrettDMorrison.

from zfp.

kmpaul avatar kmpaul commented on July 19, 2024

Yes. I'm the first person on the list. :-) And I'll stay there.

I'll add you and Garrett. Thanks!

from zfp.

jayvdb avatar jayvdb commented on July 19, 2024

Someone should register https://pypi.org/project/zfp/ , even if it is only an empty package, to reserve the name. One of the first questions of distro packaging is "what name to use", and for Python to first answer is "the PyPI name".

from zfp.

lindstro avatar lindstro commented on July 19, 2024

@jayvdb I'd be happy to do so through my PyPI account but could use some help. I know there is documentation out there, but I cannot dedicate hours to figuring out how to set up an empty package at this time. Is there an easy way to just register the package?

from zfp.

impredicative avatar impredicative commented on July 19, 2024

@lindstro I have now registered zfp on PyPI. I believe it is not necessary to do anything at all with this PyPI package right now, since @kmpaul is targeting an initial conda-forge package instead.

If I were to nevertheless transfer it, I suppose I would require an LLNL service account to grant ownership to, with @lindstro and @GarrettDMorrison added as maintainers. Any added PyPI account should ideally first enable 2FA for security.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

@impredicative Thanks for setting this up. If you'd like to transfer the project, my PyPI account is lindstro.

from zfp.

impredicative avatar impredicative commented on July 19, 2024

@lindstro Done. You now have Owner level access to it. From here you can adjust its permissions accordingly. Please however refer to the second paragraph of my prior post though for maximizing security and for organizing it to outlast any one person.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

@impredicative I demoted you to maintainer and will add @GarrettDMorrison as owner. I also set up 2FA.

We could still use some help with setting up the pip package, in case anyone is willing to contribute.

from zfp.

jayvdb avatar jayvdb commented on July 19, 2024

Please also reserve https://pypi.org/project/zfpy/ to avoid it being misused by someone else.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

Thanks, @impredicative.

from zfp.

lindstro avatar lindstro commented on July 19, 2024

Thanks to the efforts of @da-wad, we now have a pip installable package: https://pypi.org/project/zfpy/. I'd like to thank @da-wad, @kmpaul, and everyone else who helped resolve this issue.

from zfp.

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.