Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbf14be

Browse files
Merge pull request #5 from sensorsdata/yjz_licenst
修改 license
2 parents e966424 + de68b0e commit bbf14be

File tree

5 files changed

+17
-41
lines changed

5 files changed

+17
-41
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2015-2019 Sensors Data Inc.
189+
Copyright 2015-2020 Sensors Data Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

LICENSE.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4848
See the License for the specific language governing permissions and
4949
limitations under the License.
5050

51-
**禁止一切基于神策数据 Python 开源 SDK 的所有商业活动!**
51+
**禁止一切基于神策数据 Python 开源 SDK 的所有商业活动!**

README.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.

setup.py

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
from distutils.core import setup
1+
import setuptools
22

3-
setup(
4-
name='SensorsAnalyticsSDK',
5-
version='1.10.1',
6-
author='Yuhan ZOU',
7-
author_email='[email protected]',
8-
url='http://www.sensorsdata.cn',
9-
license='LICENSE.txt',
10-
packages=['sensorsanalytics'],
11-
description='This is the official Python SDK for Sensors Analytics.',
12-
long_description=open('README.txt').read(),
13-
)
3+
# 读取项目的readme介绍
4+
with open("README.md", "r") as fh:
5+
long_description = fh.read()
6+
setuptools.setup(
7+
name="SensorsAnalyticsSDK",
8+
version="1.10.1",
9+
author="Jianzhong YUE", # 项目作者
10+
author_email="[email protected]",
11+
description="This is the official Python SDK for Sensors Analytics.",
12+
long_description=long_description,
13+
long_description_content_type="text/markdown",
14+
url="https://github.com/sensorsdata/sa-sdk-python",
15+
packages=setuptools.find_packages(),
16+
)

0 commit comments

Comments
 (0)