-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
54 lines (49 loc) · 1.43 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
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
File: setup.py
Author: Me
Email: yourname@email.com
Github: https://github.com/yourname
Description: setup.py
"""
import sys
from setuptools import setup, find_packages
long_description = ''
try:
if 'win' in sys.platform and sys.version_info >= (3, 0):
with open('README.md', encoding='utf-8') as r:
long_description = r.read()
else:
with open('README.md') as r:
long_description = r.read()
except Exception as e:
pass
setup(
name='jsonformatter',
version='0.3.4',
packages=find_packages(where='src'),
package_dir={'': 'src'},
description=(
'Python log in json format.'
),
long_description=long_description,
long_description_content_type="text/markdown",
platforms=["all"],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Utilities',
],
python_requires='>=2.7',
author='MyColorfulDays',
author_email='my_colorful_days@163.com',
url='https://github.com/MyColorfulDays/jsonformatter.git',
license='BSD License',
# packages=['jsonformatter']
)