-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (36 loc) · 1.17 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import os
from setuptools import setup, find_packages
this_directory = os.path.abspath(os.path.dirname(__file__))
setup_requirements = []
def read_file(filename):
with open(os.path.join(this_directory, filename), encoding='utf-8') as f:
long_description = f.read()
return long_description
setup(
author="Han Zhichao",
author_email='[email protected]',
description='htmlrunner for unittest',
# long_description='easy log use for extra infos',
long_description=read_file('README.md'),
long_description_content_type="text/markdown", # 新参数
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
],
license="MIT license",
include_package_data=True,
keywords=[
'htmlrunner', 'testrunner', 'htmltestrunner',
],
name='htmlrunner',
packages=find_packages(include=['htmlrunner']),
setup_requires=setup_requirements,
url='https://github.com/hanzhichao/htmlrunner',
version='0.13',
zip_safe=True,
install_requires=['jinja2', 'logz']
)