Comments (25)
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.
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.
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.
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.
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.
@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.
...Although, I agree that a wheel would be good, too.
from zfp.
@kmpaul Speaking as a user, yes, conda works fine.
from zfp.
@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.
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.
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.
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.
Awesome! Thank you so much for your contributions, Kevin.
from zfp.
@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.
I hope you're willing to be one of them :-) Please add me and @GarrettDMorrison.
from zfp.
Yes. I'm the first person on the list. :-) And I'll stay there.
I'll add you and Garrett. Thanks!
from zfp.
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.
@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.
@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.
@impredicative Thanks for setting this up. If you'd like to transfer the project, my PyPI account is lindstro.
from zfp.
@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.
@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.
Please also reserve https://pypi.org/project/zfpy/ to avoid it being misused by someone else.
from zfp.
Thanks, @impredicative.
from zfp.
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)
- Is safe to read values in parallel from a const_array with cache_size=0 ? HOT 3
- race condition when using private_const_view from inside oneapi::tbb:parallel_for lambda HOT 13
- The predicted maximum compressed capacity is much larger than the actual HOT 2
- oldest-supported-numpy Erroneously Required in Apple Silicon Python 3.10 Wheel HOT 30
- Python binding installation fails HOT 18
- ppc32: index.hpp: error: integer constant is too large for ‘unsigned long’ type HOT 3
- How to run zfp as a c code with gcc HOT 6
- Is psnr formula error in ZFP? HOT 2
- Missing `void` in functions that take no parameters
- Tiny but above subnormal numbers not handled correctly
- Numpy 2.0 HOT 11
- Cuda mode ZFP examples HOT 4
- Compilation issues with zfp HOT 2
- Running issues with zfp and cuda HOT 3
- Errors reported with scikit-build when running CMake with BUILD_ZFPY enabled HOT 1
- Test failures and segfaults when building with Visual Studio 2022 compiler v14.38.33130 HOT 11
- 2D Point data curiosly compresses way better at 1D HOT 4
- Deserializing const_array HOT 2
- Issue with running the diffusion program in the examples folder HOT 3
- Why strides are ignored in zfp_field_metadata()? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfp.