Coder Social home page Coder Social logo

pip? about python-harvest HOT 5 CLOSED

lionheart avatar lionheart commented on August 23, 2024
pip?

from python-harvest.

Comments (5)

olange avatar olange commented on August 23, 2024

Hello. I encountered the same problem:

$ pip install Harvest-Time-Tracking-API-Client
Downloading/unpacking Harvest-Time-Tracking-API-Client
  Could not find any downloads that satisfy the requirement Harvest-Time-Tracking-API-Client
  Some externally hosted files were ignored (use --allow-external Harvest-Time-Tracking-API-Client to allow).
Cleaning up...
No distributions at all found for Harvest-Time-Tracking-API-Client

As a workaround, I included a carbon copy of harvest/harvest.py in my sources. But it is a rather desperate workaround. It would be nice if it could be retrieved with pip install Harvest-Time-Tracking-API-Client.

from python-harvest.

olange avatar olange commented on August 23, 2024

By the way, adding the --allow-external Harvest-Time-Tracking-API-Client and --allow-unverified Harvest-Time-Tracking-API-Client Harvest-Time-Tracking-API-Client options does not help either:

$ pip install --allow-external Harvest-Time-Tracking-API-Client --allow-unverified Harvest-Time-Tracking-API-Client Harvest-Time-Tracking-API-Client
Downloading/unpacking Harvest-Time-Tracking-API-Client
  Could not find any downloads that satisfy the requirement Harvest-Time-Tracking-API-Client
Cleaning up...
No distributions at all found for Harvest-Time-Tracking-API-Client
Storing debug log for failure in ~/.pip/pip.log

from python-harvest.

olange avatar olange commented on August 23, 2024

Looking at ~/.pip/pip.log, I found these interesting messages:

…
Could not parse version from link: https://github.com/lionheart/python-harvest/archive/master.zip (from https://github.com/lionheart/python-harvest)
Skipping link https://github.com/lionheart/python-harvest/archive/master.zip (from https://github.com/lionheart/python-harvest); wrong project name (not harvest-time-tracking-api-client)
…

I've never submitted a package to PyPI, but I would guess that changing the name attribute in the setup.py file from Harvest Time Tracking API Client to harvest-time-tracking-api-client might fix this issue:

…
setup(
    name='harvest-time-tracking-api-client',
    …

Optionally, creating a tag named 1.0.1 (that matches the version number found in the VERSION file) would also remove the warning «Could not parse version from link»:

python-harvest (master) $ git tag 1.0.1 -m "Adding tag 1.0.1 for upload on PyPI."
python-harvest (master) $ git push --tags origin master

HTH

from python-harvest.

olange avatar olange commented on August 23, 2024

Sorry, I forgot to mention: I'm using Mac OS X 10.10.1 (Yosemite), Python 2.7.6 and the latest python-harvest (as of commit 74f8875).

from python-harvest.

dlo avatar dlo commented on August 23, 2024

cc/ @GxelA

from python-harvest.

Related Issues (20)

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.