mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-18 04:07:37 +08:00
bugfix: instal with dependencies
This commit is contained in:
21
setup.py
21
setup.py
@@ -1,9 +1,14 @@
|
||||
#encoding: utf-8
|
||||
import io
|
||||
import os
|
||||
|
||||
from httprunner import __version__
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
about = {}
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
with io.open(os.path.join(here, 'httprunner', '__about__.py'), encoding='utf-8') as f:
|
||||
exec(f.read(), about)
|
||||
|
||||
with io.open("README.rst", encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
@@ -17,14 +22,14 @@ install_requires = [
|
||||
]
|
||||
|
||||
setup(
|
||||
name='HttpRunner',
|
||||
version=__version__,
|
||||
description='HTTP test runner, not just about api test and load test.',
|
||||
name=about['__title__'],
|
||||
version=about['__version__'],
|
||||
description=about['__description__'],
|
||||
long_description=long_description,
|
||||
author='Leo Lee',
|
||||
author_email='mail@debugtalk.com',
|
||||
url='https://github.com/HttpRunner/HttpRunner',
|
||||
license='MIT',
|
||||
author=about['__author__'],
|
||||
author_email=about['__author_email__'],
|
||||
url=about['__url__'],
|
||||
license=about['__license__'],
|
||||
packages=find_packages(exclude=["examples", "tests", "tests.*"]),
|
||||
package_data={
|
||||
'httprunner': ["templates/*"],
|
||||
|
||||
Reference in New Issue
Block a user