Comments (27)
The thing is, that the refactoring-branch is not ready yet for a release. I'm still working on this.
from vtkbool.
Please keep that in mind, until my first release candidate.
from vtkbool.
Please keep that in mind, until my first release candidate.
Hi @zippy84 , it seems like the refactoring
branch is a long-lived one. Do you have an ETA on when you expect to wrap this branch up?
Alternatively, are you open to an initial conda-forge package with just the changes required to build on VTK9? The package can be easily updated in the future.
from vtkbool.
Update - I have a fully working recipe now. It does require some minor changes to CMakeLists.txt to work on all platforms - see https://github.com/whophil/vtkbool/tree/refactoring.
Thoughts @zippy84 ?
from vtkbool.
Hi! @whophil is it possible to install via conda-forge then?
from vtkbool.
@ana-pcosta It will be possible once I release the recipe, but I need some coordination from @zippy84 who maintains this repo.
from vtkbool.
@zippy84 I have a few minor changes I'd like to propose for that branch as well - they mainly relate to how CMake finds the Python install dirs. Should I create a PR targeting your refactoring branch? You can find my commits on my my fork's refactoring
branch.
from vtkbool.
Is there any interest in packaging this up as a conda package on conda-forge? I have this almost-working on some non-public CI, but this could be easily translated to conda-forge.
The Python module should be relatively easy. Not sure about the ParaView extension, as I don't use those.
One prerequisite would be to set up official versions and releases of this project.
yes I would love this. I cannot figure out how to install
from vtkbool.
Bumping this thread @zippy84
from vtkbool.
Any new thoughts or updates on this @zippy84 ?
from vtkbool.
would love to see this as well!
from vtkbool.
Hi @zippy84 , just following up again!
from vtkbool.
@whophil Be patient 😉
from vtkbool.
@whophil Be patient 😉
@zippy84 I probably wasn't clear on this - the only thing I need from you in order to get this package deployed is an official, non-RC release on this repo. Is this something you would be willing to do?
As of now, it seems the only version tag is 3.0-rc1
. I understand you are still doing some development before you feel comfortable releasing 3.0
. If you are willing to call any commit prior to that version 2.0
, and make that an official release (using the GitHub Releases feature), then the conda packaging can proceed without issue. Of course, a new version of the conda package will be updated whenever you release 3.0
.
The preliminary conda recipe is here:
conda-forge/staged-recipes#20615
As you can see in the PR, CMakeLists.txt
were modified a bit to build under a conda environment - you can find these changes in the included patch file.
Thanks for your work!
from vtkbool.
Hi @zippy84, just checking in on this. Where do we stand on the 3.0 release? We cannot deploy a RC version to the primary conda-forge channel. It is still an option to rename the current version 2.1 and proceed from there, if that is OK with you.
from vtkbool.
I'm currently work on other projects. As a compromise I can release it under 3.0-pre-release. A few things are still missing, but I'm fine with this.
from vtkbool.
I'm currently work on other projects. As a compromise I can release it under 3.0-pre-release. A few things are still missing, but I'm fine with this.
Thanks very much, that would be great! Many people will benefit from having this package available conda-forge without having to build it against VTK on their own.
from vtkbool.
Hi @zippy84 , I see now that you edited your post. It used to say 2.9, but now says 3.0-pre-release.
It seems like a trivial difference, but 2.9 does work for the conda-forge package, while 3.0-pre-release does not.
You can see some discussion about this here: conda-forge/staged-recipes#20615 (review)
What the author of that post suggests (using pre-release channels) is quite cumbersome for would-be users, so I'd really prefer to have an official 2.x release, if possible. Thanks!
from vtkbool.
Changed it to 2.9!
from vtkbool.
Thanks @zippy84 ! One minor detail - it looks like the filename for the 2.9 release is still 3.0-rc2.zip
. Can this be changed?
from vtkbool.
Good point. I changed it.
from vtkbool.
Thanks very much @zippy84 for all your help!
The conda-forge package for vtkbool
2.9 is now available and can be installed on Linux, Windows, Mac (x86) via
conda install -c conda-forge vtkbool
See:
I will close this issue. In the future you might consider adding this install information to the README so that people who stumble upon this project know that it can be installed via conda.
from vtkbool.
Thanks for your work @whophil .
I just tried it:
Python 3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from vtkBool import vtkPolyDataBooleanFilter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'vtkBool'
The package is installed, but not available. Do you know whats wrong?
from vtkbool.
The package is located under pkgs. I have to extend sys.path manually:
>>> sys.path.append('/home/zippy/miniconda3/pkgs/vtkbool-2.9-py310h6257caa_1/lib/python3.10/site-packages/vtkbool')
>>> from vtkBool import vtkPolyDataBooleanFilter
Is this intended?
from vtkbool.
Thanks for testing @zippy84 - as currently packaged, the import should look like this:
from vtkbool.vtkBool import vtkPolyDataBooleanFilter
This seems to be the default structure that the CMake project provides, when I invoke cmake
in this way:
from vtkbool.
Thanks. I will add this to my Readme next time.
from vtkbool.
By the way, the link to the documentation is wrong. But this is only a detail 😄
from vtkbool.
Related Issues (20)
- Build error with vtk_wrap_hierarchy with VTK9 HOT 1
- Crash on combining certain models HOT 3
- Is it possible to do the Python wrapping with VTK 9 HOT 6
- please help install HOT 1
- Long road to version 3.0
- Question on vtkbool - the way to find error code HOT 2
- Way to turn off the console script. HOT 2
- Unable to import the module into a python script "Segmentation Fault". HOT 4
- How to build vtkbool for Python HOT 4
- Some complex grid data cannot get the correct Boolean operation result HOT 2
- Python work with Conda ModuleNotFoundError: No module named 'vtkBool' or ImportError: Initialization failed for vtkBool, not compatible with vtkmodules.vtkCommonCore HOT 1
- Cutting surfaces HOT 1
- Proper interface to allow generation of python wrappers. HOT 2
- Crash On CombineRegions( ) method when execute SetOperModeToDifference HOT 13
- How to resolve "Strips are invalid Issue" issues ? HOT 12
- Issues after introduction of "bad normals" HOT 6
- Contact ends suddenly issue HOT 4
- Difference operation performs an intersection and vice versa HOT 4
- Compilation Error when include vtkOpenGLRenderWindow HOT 1
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 vtkbool.