Code Monkey home page Code Monkey logo

android_fonts's People

Contributors

chrissimpkins avatar dependabot[bot] avatar rsheeter avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

android_fonts's Issues

Fails to resolve imports on Python 3.11+

When installing requirements with Python 3.11, pkg_resources==0.0.0 is unable to be resolved. That seemingly prevents us from resolving imports at runtime, e.g. import emoji, which are clearly available within the same library.

This problem was encountered when running some of the commands documented at https://github.com/googlefonts/emoji-scs, ex:

python sanity_check.py --noto_dir ../noto-emoji-next --emoji_metadata_dir ../emoji-metadata/

Make path dynamic?

A small thing but

return os.path.join(os.path.expanduser('~/oss/rsheeter.github.io/android_fonts'),
has a path that seems fixed when it might ought to be dynamic - since I didn't clone to that path, this script wouldn't run without this hack:

diff --git a/make_assets.py b/make_assets.py
index 8e710f7..050b2e2 100644
--- a/make_assets.py
+++ b/make_assets.py
@@ -15,8 +15,7 @@ flags.DEFINE_boolean('generate_legacy_images', True,
                      ' Turn off if you already have them and want to save time.')
 
 def _out(file):
-  return os.path.join(os.path.expanduser('~/oss/rsheeter.github.io/android_fonts'),
-                      file)
+  return os.path.join(file)
 
 _SUMMARY = _out('emoji_summary.json')
 _EMOJI = _out('emoji_detail.json')

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.