Comments (5)
I dug a little deeper into the setuptools documentation (https://setuptools.readthedocs.io/en/latest/setuptools.html?highlight=include_package_data#including-data-files) - the missing entries in the MANIFEST.in for those files seem to be the real cause for the missing files:
if using the setuptools-specific include_package_data argument, files specified by package_data will not be automatically added to the manifest unless they are listed in the MANIFEST.in file.
So including those files to the MANIFEST.in seems to be the better solution (the file tzwhere/tz_world.csv
mentioned in MANIFEST.in has been removed in df871d2 )
#46 should fix the installation of those files.
from pytzwhere.
I'm having the same problem and would love to see it fixed!
Would it be possible to submit a pull request with your changes? Thanks in advance!
from pytzwhere.
Thanks @linwoodc3 and @seahawk1986 for the pull requests. I ended up using @linwoodc3's since it added compression. I just pushed version 3.0.2 to PyPI
from pytzwhere.
I'm an idiot. Careless mistake. I left the test name in the Manifest file.
This...
tzwhere/worldtest.json.gz
Needs to change to this...
include tzwhere/tz_world.json.gz
That's why the file is missing....
from pytzwhere.
@linwoodc3 I just pushed v 3.0.3 with the fix
from pytzwhere.
Related Issues (20)
- Potentially wrong results returned HOT 17
- Upload 2.3 to pypi? HOT 3
- forceTZ returning unexpected result HOT 5
- all of China should be +0800, but some are showing up as +0600 HOT 5
- tzNameAt bombs with a KeyError on certain latitudes / longitudes HOT 1
- Outdated data HOT 1
- `tz_world_shortcuts.json` is missing from setup.py HOT 8
- tz_world.json.gz does not exits HOT 1
- What happened to tzOffsetAt?
- can't insatll pytzwhere on Win 10
- Add tests to PyPI source tarball? HOT 1
- With latest numpy update, generates an error on initialization HOT 7
- No timezone for Dubai HOT 1
- how to return this format as "GMT +9" or "GMT -5"οΌThx
- VisibleDeprecationWarning HOT 1
- ValueError due to shapely update HOT 5
- ModuleNotFoundError: No module named 'shapely.lib' HOT 2
- Constructor fails with value error
- Is this project still maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytzwhere.