Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toxinu/requirements
Python requirements made easy
https://github.com/toxinu/requirements
Last synced: 8 days ago
JSON representation
Python requirements made easy
- Host: GitHub
- URL: https://github.com/toxinu/requirements
- Owner: toxinu
- License: mit
- Created: 2016-03-10T19:51:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-28T15:43:34.000Z (over 8 years ago)
- Last Synced: 2024-10-11T15:43:24.364Z (23 days ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 299
- Watchers: 9
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - requirements - Python requirements made easy (Python)
README
# Requirements
*☛ Python requirements made easy*
[![Coverage Status](https://coveralls.io/repos/github/socketubs/requirements/badge.svg?branch=master)](https://coveralls.io/github/socketubs/requirements?branch=master)
[![Build Status](https://travis-ci.org/socketubs/requirements.svg?branch=master)](https://travis-ci.org/socketubs/requirements)Write your adorable `requirements.txt` once and forget `setup.py` hassles.
```python
from setuptools import setup
from requirements import rsetup(
name='your-package',
version='0.0.1',
**r.dependencies)
```### Features
* Requirements discovery
* Manage `dependency_links` and `tests_require`
* Just drop `requirements.py` in your package directory
* Works well with [pip-tools](https://github.com/nvie/pip-tools)
* Configurable for different requirements layout
* Python `2.7`, `3.3`, `3.4`, `3.5`
* Very light, well tested, no dependencies and more!### Usage
* Download latest `requirements.py` release in your package root directory
* Import it in your `setup.py`, like in previous exampleSome variables are configurable like that:
```python
from requirements import rr.requirements_path = 'reqs.txt'
r.tests_requirements_path = 'reqs-tests.txt'
```License is `MIT`.