Comments (6)
As long as a setup.py was present editable install worked with setuptools 61.2.
I did the change for a couple of project I maintain so I though I could offer to do the same here. I will see how it can work with the fiddling needed for that package though.
from mplcairo.
Sorry for the lack of wheels, I'll make a new release. Most features of mplcairo have still not been moved to matplotlib itself and there are therefore still benefits in using this library (I believe the comparison in the readme should be up to date).
I don't think PEP517 has anything to do with the build problem; rather, the issue is the one at https://github.com/matplotlib/mplcairo#windows: the paths to the cairo and freetype headers and dlls need to be manually specified, as there is no way I can guess where they are available on your system. Instead, use tools/build-windows-wheel.py
to build the wheel. (I could consider moving all that logic into setup.py, together with (e.g.) getting freetype.dll from freetype-py instead of having to download it separately, though.)
from mplcairo.
Thanks for your answer. Let me know if I can help with anything.
from mplcairo.
mplcairo 0.5 is now on PyPI.
If you want to make things cleaner, you could try moving most of the logic of build_windows_wheel.py into setup.py (together with adding a dependency on freetype-py and getting freetype.dll from them as well, and getting rid of CL/LIBPATH tricks in favor of ext.include_dirs/ext.library_dirs), which would make building on Windows by the normal command invocations work.
from mplcairo.
I could try to have a look. Would you interested in also making the repo PEP517 compliant ?
from mplcairo.
Support for editable installs is extremely important for me, and AFAIK PEP517 and editable installs were incompatible until the release of setuptools 64 (a week ago). Now I guess I would be open to moving to a PEP517-type setup, although I have no experience with that and don't really know how it would look like. However, most of the setup logic would likely still remain dynamic (I guess?), so it's not really clear to me what would be the benefits of such a change.
from mplcairo.
Related Issues (20)
- Use MultiPages HOT 1
- Optimal usage for better rendering speed for multiple (video) frames based on mplcairo? HOT 21
- pkgconfig version checks are broken HOT 5
- Demonstrate purpose of this repository with images HOT 2
- :question: No SVG output when using Cairo operator (SCREEN)? HOT 6
- y-axis title rotated HOT 5
- matplotlib inline support for JupyterLab HOT 2
- The sizes of saved vector outputs (PDF, EPS) are too large. HOT 3
- Using locl features available in a font HOT 11
- Pytest hooks not doing anything? HOT 6
- Printing of Tamil language characters HOT 4
- blitting support? HOT 1
- Jupyter inline plot only appears on second try HOT 2
- Unable to install from pip HOT 6
- Wheels for aarch64 HOT 2
- mplcairo-git on the AUR HOT 4
- ImportError: cannot import name '_mplcairo' from partially initialized module 'mplcairo' HOT 5
- Jupyter Assertion Error / AttributeError: can't set attribute 'renderer' HOT 3
- Python 3.11 wheels HOT 3
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 mplcairo.