forked from ifduyue/urlfetch
/
setup.py
31 lines (29 loc) · 1.01 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
from setuptools import setup
import urlfetch
import re
import os
import sys
setup(
name = "urlfetch",
version = urlfetch.__version__,
author = re.sub(r'\s+<.*', r'', urlfetch.__author__),
author_email = re.sub(r'(^.*<)|(>.*$)', r'', urlfetch.__author__),
url = urlfetch.__url__,
description = ("An easy to use HTTP client"),
long_description = open('README.rst').read(),
license = "BSD",
keywords = "httpclient urlfetch",
py_modules = ['urlfetch'],
data_files = [(os.path.join(sys.prefix, 'share', 'urlfetch'), ['urlfetch.useragents.list'])],
classifiers = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)