Comments (16)
Ok I think everything is ok now (just checked again), so I am going to close this.
from cmocean.
I found the problem.
In line 30 of the file setup.py it is called: "requirements.txt"; but in cmocean-0.2.1.tar.gz the file is named: "requires.txt"
from cmocean.
@Mascagni-ML Thanks for the bug report! Would you be interested in opening a pull request to fix this?
https://guides.github.com/introduction/flow/ and http://matplotlib.org/devel/gitwash/git_development.html
are good resources to get started (the later applies to matplotlib, but I am assuming that @kthyng is using similar processes/workflows)
from cmocean.
from cmocean.
Thanks for working out this fix! It seems like this issue prevents any use of the cmocean package until it is resolved.. is that correct? I would like to use cmocean in the pycharm IDE, but it won't install because of this issue (pycharm installs cmocean by executing the command "pip install --user cmocean"). Am I right in assuming that nothing can be done with cmocean until this fix is incorporated into the online (I'm not sure what to call it) version?
from cmocean.
I'm sorry I haven't been able to spend devote any time to cmocean for a month or two — I'm really hoping to in the next couple of weeks. But in the meantime, I'm not familiar with pycharm, but you could try just cloning cmocean and then install locally with 'pip install .' while in the cmocean directory.
from cmocean.
@dkauf42 in the meantime you could just add this to pycharm pip command:
pip install git+mybranch
where mybranch is my cmocean branch address in github.
from cmocean.
Thank you both @kthyng and @ocehugo! I managed to get it working by cloning cmocean into the pycharm packages directory and then installing locally using the pip version that matches my pycharm interpreter, so:
pip3.4 install .
from cmocean.
Just to clarify @ocehugo, that's
pip install https://github.com/ocehugo/cmocean/archive/master.zip
Or if you want it inside a pip requirements.txt, the following should work:
git+git://github.com/ocehugo/cmocean.git#egg=cmocean
Thanks for the neat colours.
from cmocean.
After incorporating some PRs I just tried to update the package on PyPI but had this issue when testing it: Server response (400): Invalid version, cannot use PEP 440 local versions on PyPI.
Anyone know about this? I updated the version to 0.2.2 but I think it also now gets information from versioneer.
from cmocean.
Also getting confused about the travis ci builds that are failing — maybe someone can help me out a bit here. Maybe @tacaswell or @ocefpaf or others?
from cmocean.
Anyone know about this? I updated the version to 0.2.2 but I think it also now gets information from versioneer.
I usually avoid versioneer
for small projects. It adds a lot of boilerplate code.
Also getting confused about the travis ci builds that are failing
https://travis-ci.org/matplotlib/cmocean/builds/116256635 says
Could not find .travis.yml, using standard configuration.
and somehow that commit does not have that file. See https://github.com/matplotlib/cmocean/tree/7236f5eb58a0a715e8a25bb188252a57035489a3
Travis was introduced in #41 . Maybe you need to rebase against master.
from cmocean.
Maybe you need to update some files ? I saw that before @ocefpaf push a commit with a manifest but versioneer handles the manifest file (as far as I can remember WRONG - distutils does that). So maybe it's just a matter of updating the manifest.in or alike, but i'm not a pypi guru.
from cmocean.
@kthyng also take a look on previous commits. I just found that the repo is about ~150mb. Looks like in the previous commits there were some png and pdf files, which make cloning a bit slow.
from cmocean.
Update: Travis is currently compiling ok.
Next: I will try PyPI again.
Further next: I will try to reduce the size of the repo. I've realized this for awhile but hadn't acted on it. I can go through and remove the history of some larger files from the past, but I need to figure out how best to do it.
from cmocean.
I feel like I am surely jinxing myself, but I think it is working!
Try "pip install cmocean" and let me know if it works!
from cmocean.
Related Issues (20)
- Add inverting functionality? HOT 3
- FileNotFoundError at import with `cmocean==4.0.1` HOT 2
- Phase, but with grey HOT 1
- Submodule plots is in `__all__` but not imported in `__init__.py` HOT 1
- Wrong `__version__` in `__init__.py` HOT 1
- Import cmocean does not import plots HOT 3
- Automatic registration of colormaps HOT 1
- cmap alteration HOT 1
- cmocean colormaps for Tableau HOT 2
- tag release HOT 4
- Some docs images HOT 3
- issue with pip install (python2) HOT 6
- landing page has no install directions... HOT 1
- Docs images
- Minor installation and documentation issues with the plots submodule HOT 7
- Possible to set number of levels on colormap? HOT 2
- cmocean available in ncview (via ncmaps) HOT 1
- Future incompatibility with MPL HOT 8
- discussing the "ice" colormap HOT 10
- numpy v2.0 compatibility
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 cmocean.