Giter Club home page Giter Club logo

Comments (4)

progrium avatar progrium commented on May 22, 2024

Definitely. I use pip but didn't realize I needed to register the source. Should be done. Good?

from pyjwt.

kumar303 avatar kumar303 commented on May 22, 2024

Almost there. The setup.py is now broken for me. Looks like you need to add it to your MANIFEST.in file so that it gets distributed with the source. This line in MANIFEST.in should do it:

include README.md

More info: http://docs.python.org/distutils/sourcedist.html#manifest-template

The traceback I got was:

$ pip install PyJWT
Downloading/unpacking PyJWT
Downloading PyJWT-0.1.1.tar.gz
Running setup.py egg_info for package PyJWT
Traceback (most recent call last):
File "", line 14, in
File "/Users/kumar/tmp/pyjwt/build/PyJWT/setup.py", line 17, in
long_description=read('README.md'),
File "/Users/kumar/tmp/pyjwt/build/PyJWT/setup.py", line 5, in read
return open(os.path.join(os.path.dirname(file), fname)).read()
IOError: [Errno 2] No such file or directory: '/Users/kumar/tmp/pyjwt/build/PyJWT/README.md'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 14, in <module>

File "/Users/kumar/tmp/pyjwt/build/PyJWT/setup.py", line 17, in <module>

  long_description=read('README.md'),

File "/Users/kumar/tmp/pyjwt/build/PyJWT/setup.py", line 5, in read

  return open(os.path.join(os.path.dirname(__file__), fname)).read()

IOError: [Errno 2] No such file or directory: '/Users/kumar/tmp/pyjwt/build/PyJWT/README.md'

from pyjwt.

progrium avatar progrium commented on May 22, 2024

Gotcha. Okay, I added that and tested with pip. It's complaining about tests, but installs fine for me.

from pyjwt.

kumar303 avatar kumar303 commented on May 22, 2024

Cool, thanks

from pyjwt.

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.