-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
44 lines (38 loc) · 1.24 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 -*-
# Created by charles on 2019-04-29
# Function:
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
install_requires=["requests>=2.18.4", "beautifulsoup4>=4.6.0", "lxml>=4.1.0"],
name="baidusearch",
version="1.0.3",
author="Wu Charles",
maintainer='Wu Charles',
author_email="[email protected]",
description="Baidu Search unofficial API for Python with no external dependencies",
keywords="search-api baidu python",
url="https://github.com/amazingcoderpro/python-baidusearch",
packages=find_packages(),
platforms=["all"],
exclude_package_data={
'': ['config.json', '__pycache__/*']
},
long_description=read('README.rst'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
],
include_package_data=True, # needed for MANIFEST
entry_points={
'console_scripts': [
'baidusearch = baidusearch.baidusearch:run',
],
}
)