Giter Club home page Giter Club logo

pypi-download-tarball's Introduction

PyPI Download Tarball - DEPRECATED

PyPI version License: MIT Build Status

No longer supporting this repository

Automates manual Python library installation through the PyPi tar.gz tarball. If no tarball is found, the program will look for next available .zip file and install the package. I've used this in the past when pip hasn't worked out, and I have to revert to manual installation of Python libraries. Works on Python 3.5+.

Install with:

pip install pypi-download-tarball

Or:

python setup.py install

Basic Usage

Installing a single package from the command line:

pypi-download-tarball -p <package name>

File Usage

Installing via packages listed on separate lines in a .txt file.

Example File Format:

xlrd
black
pyinstaller

Command:

pypi-download-tarball -r <text file>

Demo

xlrd-example

Developement

Windows

Installing Development dependencies

  • Run build install

Running tests:

  • Run build test, which runs all the unit tests in tests.py.

All the other targets are for upload package to PyPi.

Linux

Installing Development dependencies

  • Run make install

Make sure you have GNU Make installed. You can install it with sudo apt-get install make.

Running tests:

  • Run make test, which runs all the unit tests in tests.py.

All the other targets are for upload package to PyPi.

Running tests:

  • Run build test, which runs all the unit tests in tests.py.

All the other targets are for upload package to PyPi.

Note

  • This tool currently installs the latest version of your package.
  • This package is currently is platform independent. It should work on Windows, Linux and MacOSX.
  • If your using a Unix enviorment, you might need to use python3/pip3 instead of python/pip.

pypi-download-tarball's People

Contributors

armaanmcleod avatar

Stargazers

 avatar  avatar

Forkers

pombredanne

pypi-download-tarball's Issues

Packaging improvements

I have created a rpm package for openSUSE, but not submitted it yet.

https://build.opensuse.org/package/view_file/home:jayvdb:py-new/python-download-tarball/python-download-tarball.spec?expand=1

Two minor ways this can be improved is

  • test_tar_extract and test_zip_extract needed to be disabled, because they fetch from the internet. rpm's are built in isolated VMs, without internet access. Tests need to run offline. There is already a test for fetching from the internet, which I disabled, so these other two tests should use a test case which doesnt need the internet.
  • bin name download is way too generic. Even download-tarball isnt intuitive (as a system wide bin name in /usr/bin) as it only downloads from one source. pypi-download is already taken by package stdeb. What about renaming the bin script to pypi-download-tarball?

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.