mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
update install_requires
This commit is contained in:
@@ -209,7 +209,7 @@ Python `2.7`, `3.4`, `3.5` and `3.6`.
|
||||
To develop or debug `HttpRunner`, you can install relevant requirements and use `main-ate.py` or `main-locust.py` as entrances.
|
||||
|
||||
```bash
|
||||
$ pip install -r requirements_dev.txt
|
||||
$ pip install -r requirements.txt
|
||||
$ python main-ate -h
|
||||
$ python main-locust -h
|
||||
```
|
||||
|
||||
6
requirements.txt
Normal file
6
requirements.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
requests[security]
|
||||
flask
|
||||
PyYAML
|
||||
coveralls
|
||||
coverage
|
||||
PyUnitReport
|
||||
@@ -1,7 +0,0 @@
|
||||
requests[security]
|
||||
flask
|
||||
PyYAML
|
||||
coveralls
|
||||
coverage
|
||||
-e git+https://github.com/debugtalk/PyUnitReport.git#egg=PyUnitReport
|
||||
-e git+https://github.com/locustio/locust.git#egg=locustio
|
||||
11
setup.py
11
setup.py
@@ -7,6 +7,8 @@ from setuptools import find_packages, setup
|
||||
with io.open("README.md", encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
install_requires = open("requirements.txt").readlines()
|
||||
|
||||
setup(
|
||||
name='HttpRunner',
|
||||
version=__version__,
|
||||
@@ -21,14 +23,7 @@ setup(
|
||||
'ate': ['locustfile_template'],
|
||||
},
|
||||
keywords='api test',
|
||||
install_requires=[
|
||||
"requests[security]",
|
||||
"flask",
|
||||
"PyYAML",
|
||||
"coveralls",
|
||||
"coverage",
|
||||
"PyUnitReport"
|
||||
],
|
||||
install_requires=install_requires,
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
'Programming Language :: Python :: 2.7',
|
||||
|
||||
Reference in New Issue
Block a user