mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 16:29:37 +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.
|
To develop or debug `HttpRunner`, you can install relevant requirements and use `main-ate.py` or `main-locust.py` as entrances.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ pip install -r requirements_dev.txt
|
$ pip install -r requirements.txt
|
||||||
$ python main-ate -h
|
$ python main-ate -h
|
||||||
$ python main-locust -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:
|
with io.open("README.md", encoding='utf-8') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
|
install_requires = open("requirements.txt").readlines()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='HttpRunner',
|
name='HttpRunner',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
@@ -21,14 +23,7 @@ setup(
|
|||||||
'ate': ['locustfile_template'],
|
'ate': ['locustfile_template'],
|
||||||
},
|
},
|
||||||
keywords='api test',
|
keywords='api test',
|
||||||
install_requires=[
|
install_requires=install_requires,
|
||||||
"requests[security]",
|
|
||||||
"flask",
|
|
||||||
"PyYAML",
|
|
||||||
"coveralls",
|
|
||||||
"coverage",
|
|
||||||
"PyUnitReport"
|
|
||||||
],
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
|
|||||||
Reference in New Issue
Block a user