Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add json files to MANIFEST.in, remove obsolete .csv file #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add json files to MANIFEST.in, remove obsolete .csv file #46

wants to merge 1 commit into from

Conversation

seahawk1986
Copy link
Contributor

According to https://setuptools.readthedocs.io/en/latest/setuptools.html?highlight=include_package_data#including-data-files all files that should be installed automatically when using include_package_data=True in setup.py must be included in the MANIFEST.in
Also tzwhere/tz_world.csv has been removed in df871d2

This pull request should fix the installation of the missing json files reported in #44 and #45

@coveralls
Copy link

coveralls commented Jul 29, 2017

Coverage Status

Coverage remained the same at 71.698% when pulling a12b522 on seahawk1986:fix_install into 633bde3 on pegler:master.

@linwoodc3
Copy link
Contributor

linwoodc3 commented Aug 14, 2017

Any news on when this will be merged?

Should add a unit test @seahawk1986 to move his coverage up. Do a local read of the file and just check that it's a valid json.

Note: This file is large; I'm going to do a pull request (starting from @seahawk1986 changes) and pickle/compress this file using standard lib, and have the load function decompress and load locally.

I did the initial code, and the file size is reduced to 27 MB (compared to 90 MB). This would lighten the load of including the file in the pip install.

linwoodc3 added a commit to linwoodc3/pytzwhere that referenced this pull request Aug 14, 2017
…pegler#8.  Closes pegler#45. This is also an update to pegler#46 and @seahawks code to include the files on the MANIFEST file..
@Rudd-O
Copy link

Rudd-O commented Aug 22, 2017

We need this fixed too. Please merge. Thank you!

pegler pushed a commit that referenced this pull request Aug 22, 2017
…#8.  Closes #45. This is also an update to #46 and @seahawks code to include the files on the MANIFEST file..
famanson pushed a commit to esplorio/pytzwhere that referenced this pull request Mar 5, 2019
* 'master' of https://github.com/pegler/pytzwhere:
  Update README to include example for forceTZ
  add worldtest.json.gz to manifest.  bump version
  bump to 3.0.2
  Reduces size of module bt 1/3.  Achieves 94% code coverage, relating to pegler#8.  Closes pegler#45. This is also an update to pegler#46 and @seahawks code to include the files on the MANIFEST file..
  add json files to MANIFEST.in, remove obsolete .csv file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants