Closed davelab6 closed 9 years ago
I have created new release with changes for that issue. Updated 1.1.5 now is on PyPi also available
Does it fetch all the charmaps during installation?
It should, see MANIFEST.in
I mean the external ones? The readme says,
Additional definitions are downloaded from the Extensis, font-config and Unicode websites.
are they first fetched at installation or first run?
Also, lets host the Extensis file ourselves; I know they are not going to update it, as the guy who maintained it left the company
I mean the external ones? The readme says,
Additional definitions are downloaded from the Extensis, font-config and Unicode websites.
are they first fetched at installation or first run?
When you first run application they will be downloaded into user local directory and then each time you run application those files are read from that place.
To clarify
When installing pyfontaine you do not have any data files. But after you run application first time latest files will be downloaded to user local directory and all data read from there next time.
In case you do not have internet connection those files are copied from pyfontaine internal package (see https://github.com/davelab6/pyfontaine/tree/master/fontaine/ext/data) to user local directory.
okay, sounds good, I'll test :)
After installing pyfontaine v1.1.5 then trying to use it for the first time offline, it wouldn’t run giving a fatal error:
Every charset that is fetched from the web should be requested with a
try:
and if there is an exception (such asrequests.exceptions.ConnectionError
) then it should print a warning (likeWARNING: Please run pyfontaine with an active internet connection to download all character maps
) and continue to work using the char maps it has.Or, ideally, it would fetch all the charmaps during installation. Is this possible?