forked from gawel/pyquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (62 loc) · 1.84 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#-*- coding:utf-8 -*-
#
# Copyright (C) 2008 - Olivier Lauzanne <[email protected]>
#
# Distributed under the BSD license, see LICENSE.txt
from setuptools import setup, find_packages
import os
def read(*names):
values = dict()
for name in names:
filename = name + '.rst'
if os.path.isfile(filename):
fd = open(filename)
value = fd.read()
fd.close()
else:
value = ''
values[name] = value
return values
long_description = """
%(README)s
See http://pyquery.rtfd.org/ for the full documentation
News
====
%(CHANGES)s
""" % read('README', 'CHANGES')
version = '1.2.9.dev0'
setup(name='pyquery',
version=version,
description='A jquery-like library for python',
long_description=long_description,
classifiers=[
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
keywords='jquery html xml scraping',
author='Olivier Lauzanne',
author_email='[email protected]',
maintainer='Gael Pasgrimaud',
maintainer_email='[email protected]',
url='https://github.com/gawel/pyquery',
license='BSD',
packages=find_packages(exclude=[
'bootstrap', 'bootstrap-py3k', 'docs', 'tests', 'README_fixt'
]),
include_package_data=True,
zip_safe=False,
install_requires=[
'lxml>=2.1',
'cssselect',
],
entry_points="""
# -*- Entry points: -*-
""",
)