Giter Club home page Giter Club logo

Comments (5)

jhgit avatar jhgit commented on September 23, 2024

I should have added that the culprit characters are the "LATIN SMALL LETTER A WITH ACUTE" characters in setup.cfg.

from platformdirs.

Julian avatar Julian commented on September 23, 2024

Hello.

Running setup.py directly is long discouraged. Does this happen when using python -m build?

from platformdirs.

gaborbernat avatar gaborbernat commented on September 23, 2024

https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

from platformdirs.

jhgit avatar jhgit commented on September 23, 2024

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.

Julian avatar Julian commented on September 23, 2024

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)

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.