Comments (5)
I should have added that the culprit characters are the "LATIN SMALL LETTER A WITH ACUTE" characters in setup.cfg.
from platformdirs.
Hello.
Running setup.py directly is long discouraged. Does this happen when using python -m build
?
from platformdirs.
https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
from platformdirs.
Running setup.py directly is long discouraged. Does this happen when using
python -m build
?
python3.6 -m build
(when it eventually completes in a ~250x longer span of time than setup.py build
) does not produce the error (whether LANG=C or other). But then spinning in a circle singing Itsy Bitsy Spider over and over doesn't produce an error either. Neither of those things does what 'setup.py build' does (or, if I understand what you are trying to say in this thread and the linked article, "used to do" since it is kinda, sorta vaguely deprecated(ish)).
As far as the speed of this operation, multiply this times 100s of python packages and now we're talking about an operation that used to take minutes will now take hours. It used to be a nice feature of most python packages that they took almost no time to build / install from source. Maybe there's a better way in the new in the new world order, but I don't see it yet.
After reading the linked article, the suggested replacement(s) for 'setup.py install --prefix' (as regular user) is even worse (there isn't one that I can see).
from platformdirs.
To elaborate -- this package supports the currently supported ways to build packages, which is the above, and not running setup.py
. If you have concerns with those modern ways, you may certainly want to take those to the respective issue trackers of each replacement, and it may be they have interest in improving performance, usability, or otherwise. Here though, we'll support what's current.
from platformdirs.
Related Issues (20)
- Testing could fail with pytest-randomly HOT 1
- Windows support link broken HOT 2
- `user_runtime_dir` for root on Unix
- user_runtime_dir for *BSD HOT 3
- Feature: add user_downloads_dir HOT 1
- Feature: user_desktop_dir HOT 2
- Cannot import name '__version__' from 'platformdirs.version' HOT 6
- Unix user_log_dir doesn't create log dir HOT 1
- Optionally redirect `user_*_dir()` calls to `site_*_dir()` for root on Unix HOT 2
- Add `site_state_dir()` counterpart for `user_state_dir()` HOT 1
- Add `site_log_dir()` counterpart for `user_log_dir()`
- pre-commit updates of pyproject.toml:[build-system]:requires HOT 3
- Support Homebrew prefixes
- HOME and StartMenu? HOT 1
- Missing changelog for 4.0 HOT 3
- Feature Request: Be able to create directories HOT 1
- multipath cannot work for path HOT 5
- Adding to stdlib/pathlib? HOT 13
- Paths can be overridden using environment variables on Linux, but not MacOS? HOT 8
- `MacOS.site_data_path` returns `:` separated path under Homebrew with multipath HOT 2
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 platformdirs.