-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (35 loc) · 1.07 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
#!/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='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=[
'logz', 'extra', 'log',
],
name='logz',
packages=find_packages(include=['logz']),
setup_requires=setup_requirements,
url='https://github.com/hanzhichao/logz',
version='0.18',
zip_safe=True,
install_requires=[]
)