-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·44 lines (41 loc) · 1.06 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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
################################################################################
#
# Copyright (c) 2023 Baidu.com, Inc. All Rights Reserved
#
################################################################################
"""
Setup script.
Authors: guobo([email protected])
Date: 2023/11/17 11:01:15
"""
import io
import os
import re
from setuptools import setup
with io.open(os.path.join("pymochow", "__init__.py"), "rt", encoding='utf-8') as f:
SDK_VERSION = re.search(r"SDK_VERSION = b'(.*?)'", f.read()).group(1)
setup(
name='pymochow',
version=SDK_VERSION,
install_requires=[
'requests',
'orjson',
'future'
],
python_requires='>=3.7',
packages=[
'pymochow',
'pymochow.auth',
'pymochow.http',
'pymochow.retry',
'pymochow.client',
'pymochow.model'
],
url='http://bce.baidu.com',
license='Apache License 2.0',
author='fengjialin',
author_email='[email protected]',
description='Python SDK for mochow'
)