0.0.5 • Published 8 years ago

requirements-txt v0.0.5

Weekly downloads
8
License
-
Repository
-
Last release
8 years ago

bash

Build Statusdrone.iocodeshipWercker

PyPI PyPI PyPI

Install

pip: [sudo] pip install requirements-txt

Features

  • exclude standard library
  • exclude import files in same folder
  • exclude files from build/, dist/, Examples/, .git/, .hg/, .svn/ and all hidden files/folders
  • exclude self name (parent folders names)
  • support aliases, multiple imports, comments
  • support future package (compatibility layer between Python 2 and Python 3)

Usage

usage: requirements-txt path

$ requirements-txt path/to/module.py
$ requirements-txt path/to/package
$ requirements-txt path > requirements.txt # write to requirements.txt

script search import name and from name import statements. __import__() ignored

Examples/

Sources:

Issues

pypi.python.org package must have same name

Feedback GitHub issues Join the chat at https://gitter.im/russianidiot/requirements-txt.sh.cli GitHub followers