Coder Social home page Coder Social logo

Comments (12)

peterbrittain avatar peterbrittain commented on May 17, 2024 1

So, the question is what do you want to build by default and how do you propose to manage the two different builds....

It would be trivial to default builds to safe fonts by just renaming that directory to "fonts".

from pyfiglet.

Kraktorist avatar Kraktorist commented on May 17, 2024

The directory pyfiglet/fonts was removed for some reason. Maybe it's related to this issue #89 (Font licensing).
The one way to fix it is to create pyfiglet/fonts and put required fonts from pyfiglet/fonts-standard or/and pyfiglet/fonts-contrib to it.

from pyfiglet.

peterbrittain avatar peterbrittain commented on May 17, 2024

Yeah - I removed it so that we can build a package with all the fonts or just those that have a suitable license. You need to pick which by running make minimal or make full first. As you can see, that creates the required directory and populates it with the contents of one or both of the font dirs.

It's possible that there's a better way to specify that directly with setuptools, but I haven't looked as this project already used the Makefile.

from pyfiglet.

mkinney avatar mkinney commented on May 17, 2024

This should be fixed with #108

from pyfiglet.

pwaller avatar pwaller commented on May 17, 2024

@stefanor did you encounter this issue during #114 / #115, can anyone comment, does this remain an issue?

from pyfiglet.

peterbrittain avatar peterbrittain commented on May 17, 2024

The fix in #108 was definitely wrong. The whole point of the split was to separate cleanly licensed fonts from ones with a less clear license (so that Linux distros can just pick the clean fonts).

People using this codebase must use the makefile to decide which set they build. Looks like 114 still respects that logic.

from pyfiglet.

pwaller avatar pwaller commented on May 17, 2024

Thanks for commenting @peterbrittain.

Judging from the error it looks like it lay within the pkg_resources logic which was replaced in #114 so I think it should no longer be an issue.

from pyfiglet.

pwaller avatar pwaller commented on May 17, 2024

Revising what I wrote last night: I take it the issue would still be present in some form, since it requires a 'make' invocation.. I guess it might be worth having some logic to load from the other directories if they're there, if someone would like to try and implement a fix.

from pyfiglet.

peterbrittain avatar peterbrittain commented on May 17, 2024

It depends what you want to achieve.

The distro builders will still want some way to ensure that they just pick up licensed fonts (while others possibly just want everything), so you still need some way to make two different packages. With the legal requirements, you can't create one package with everything. This isn't really what setup.py is designed to do.

What's prompting the revisiting of this issue?

from pyfiglet.

pwaller avatar pwaller commented on May 17, 2024

It's that someone git clone'd the repository and finds that the software fails. In my mind, ideally it should work more or less as if you had installed it via a different route.

from pyfiglet.

peterbrittain avatar peterbrittain commented on May 17, 2024

Hopefully addressed by #122

from pyfiglet.

pwaller avatar pwaller commented on May 17, 2024

I'm going to close this as assumed fixed by #122, please ping this thread if you hit it again and I'll reopen, or file another issue.

from pyfiglet.

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.