-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (42 loc) · 1.47 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
#!/usr/bin/env python
# http://docs.python.org/distutils/setupscript.html
# http://docs.python.org/2/distutils/examples.html
from setuptools import setup
import re
import os
name = 'que'
with open("{}.py".format(name)) as f:
version = re.search("^__version__\s*=\s*[\'\"]([^\'\"]+)", f.read(), flags=re.I | re.M).group(1)
setup(
name=name,
version=version,
description='CSS selectors for parsing html on the command line',
author='Jay Marcyes',
author_email='[email protected]',
url='http://github.com/Jaymon/{}'.format(name),
install_requires=['beautifulsoup4', 'requests'],
py_modules=[name],
license="MIT",
classifiers=[ # https://pypi.python.org/pypi?:action=list_classifiers
'Development Status :: 3 - Alpha',
'Topic :: System :: Shells',
'Topic :: Internet',
'Environment :: Console',
'Environment :: Plugins',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
entry_points={
'console_scripts': [
'{} = {}:console'.format(name, name),
]
}
)