nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit e25859c05df556b46ae0f1f023ffe8d01097896c
parent b2bd7fcf86c935a79ee1a7fc581b42568d8b2d46
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon, 13 Aug 2018 19:18:01 -0400

Properly separate dependency management concerns

ref: https://caremad.io/posts/2013/07/setup-vs-requirement/

A proper requirements.txt allows for the exact specification of, say, a
virtualenv, with implications for development as well as deployment.

Diffstat:
MREADME.md | 1-
Drequirements-test.txt | 4----
Mrequirements.txt | 25++++++++++++++++++++++---
Msetup.py | 4++--
4 files changed, 24 insertions(+), 10 deletions(-)

diff --git a/README.md b/README.md @@ -32,7 +32,6 @@ Check your OS distribution for installation packages. * Manually: - Clone this repository to your hard disk: `git clone https://github.com/djmoch/nncli.git` - - Install the requirements `pip3 install -r requirements.txt` - Install _nncli_: `python3 setup.py install` ### Features diff --git a/requirements-test.txt b/requirements-test.txt @@ -1,4 +0,0 @@ -pytest -pytest-cov -pytest-runner -pytest-mock diff --git a/requirements.txt b/requirements.txt @@ -1,3 +1,22 @@ -urwid -requests -appdirs +--index-url=https://pypi.org/simple + +appdirs==1.4.3 +atomicwrites==1.1.5 +attrs==18.1.0 +certifi==2018.8.13 +chardet==3.0.4 +coverage==4.5.1 +idna==2.7 +more-itertools==4.3.0 +pluggy==0.7.1 +pudb==2018.1 +py==1.5.4 +Pygments==2.2.0 +pytest==3.7.1 +pytest-cov==2.5.1 +pytest-mock==1.10.0 +pytest-runner==4.2 +requests==2.19.1 +six==1.11.0 +urllib3==1.23 +urwid==2.0.1 diff --git a/setup.py b/setup.py @@ -28,8 +28,8 @@ from setuptools import setup import nnotes_cli -deps = open('requirements.txt').readlines() -test_deps = open('requirements-test.txt').readlines() +deps = ['urwid', 'requests', 'appdirs'] +test_deps = ['pytest', 'pytest-cov', 'pytest-runner', 'pytest-mock'] with open("README.md", "r") as fh: long_description = fh.read()