Giter Club home page Giter Club logo

Comments (5)

lukeorland avatar lukeorland commented on June 22, 2024

I think this is related: Can't get setup_requires dependencies without talking to PyPI

from flask-restful.

kevinburke avatar kevinburke commented on June 22, 2024

Thanks for the research!

A while ago we setup the unit tests to run with python setup.py nosetests, but it looks like this is causing problems with the setup_requires module. Maybe we can move the test dependencies to a Makefile instead.

The old issue was here

#46

from flask-restful.

kevinburke avatar kevinburke commented on June 22, 2024

I pushed a tests branch that might fix this, but I'm unsure how you're building this without an Internet connection - I tried --download-cache, but it seems to want to check pypi to get version info. Can you try it out?

from flask-restful.

lukeorland avatar lukeorland commented on June 22, 2024

To test this, I should probably package Flask-RESTful as if it were
downloaded from Pypi. After checking out the tests branch, should I
create a virtualenv called venv, activate it, and call make release or
something like that?

To install without a local internet connection, I'm using the commands
listed at
http://www.pip-installer.org/en/latest/cookbook.html#fast-local-installs

Specifically when installing the dependencies for my Flask app, I run:
pip install --no-index
--find-links=file:///path/to/dir-containing-Flask-RESTful-x.x.x.tar.gz/ -r
requirements.txt

Thanks for the help!

On Thu, Jun 20, 2013 at 2:37 AM, Kevin Burke [email protected]:

I pushed a tests branch that might fix this, but I'm unsure how you're
building this without an Internet connection - I tried --download-cache,
but it seems to want to check pypi to get version info. Can you try it out?


Reply to this email directly or view it on GitHubhttps://github.com//issues/96#issuecomment-19733335
.

from flask-restful.

dougblack avatar dougblack commented on June 22, 2024

Closing. This pull is pretty old and offline installation isn't a priority at the moment. If you have all the dependencies locally it's possible to move them into your virtualenv and call it a day.

If this is still an issue, please reopen and we'll take another look.

from flask-restful.

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.