From 66b6f8d9040427d01fc39fb463094e94f62671bc Mon Sep 17 00:00:00 2001 From: debugtalk Date: Wed, 21 Feb 2018 23:59:19 +0800 Subject: [PATCH] remove requirements.txt --- .travis.yml | 2 +- MANIFEST.in | 3 +-- docs/development.md | 2 +- requirements.txt | 6 ------ setup.py | 9 ++++++++- 5 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 requirements.txt diff --git a/.travis.yml b/.travis.yml index 36173923..b17cad11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,8 @@ python: install: - pip install coverage - pip install coveralls - - pip install -r requirements.txt - pip install flask + - python setup.py install script: - coverage run --source=httprunner -m unittest discover after_success: diff --git a/MANIFEST.in b/MANIFEST.in index 36c6bd73..c4bf4561 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1 @@ -include README.rst -include requirements.txt \ No newline at end of file +include README.rst \ No newline at end of file diff --git a/docs/development.md b/docs/development.md index 303be9e9..5bb0a4f9 100644 --- a/docs/development.md +++ b/docs/development.md @@ -3,7 +3,7 @@ To develop or debug `HttpRunner`, you can install relevant requirements and use `main-hrun.py` or `main-locust.py` as entrances. ```bash -$ pip install -r requirements.txt +$ python setup.py install $ python main-hrun -h $ python main-locust -h ``` diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index d5d097a4..00000000 --- a/requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -requests -PyYAML -PyUnitReport -har2case -colorama -colorlog \ No newline at end of file diff --git a/setup.py b/setup.py index 45d57299..ce1f7452 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,14 @@ from setuptools import find_packages, setup with io.open("README.rst", encoding='utf-8') as f: long_description = f.read() -install_requires = open("requirements.txt").readlines() +install_requires = [ + "requests", + "PyYAML", + "PyUnitReport", + "har2case", + "colorama", + "colorlog" +] setup( name='HttpRunner',