-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
64 lines (55 loc) · 1.6 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
#-*- coding:utf-8 -*-
#
# Copyright (C) 2008 - Olivier Lauzanne <[email protected]>
# Copyright (C) 2011 - David Schoonover <[email protected]>
#
# Distributed under the BSD license, see LICENSE.txt
from setuptools import setup, find_packages
import sys, os
def read(*names):
values = dict()
for name in names:
filename = name+'.txt'
if os.path.isfile(filename):
value = open(name+'.txt').read()
else:
value = ''
values[name] = value
return values
long_description="""
%(README)s
See http://packages.python.org/pyquery/ for the full documentation
News
====
%(CHANGES)s
""" % read('README', 'CHANGES')
version = '1.1'
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 :: 3",
],
keywords='jquery html xml',
maintainer='David Schoonover',
maintainer_email='[email protected]',
author='Olivier Lauzanne',
author_email='[email protected]',
url='https://github.com/dsc/pyquery',
license='BSD',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
'lxml>=2.1'
],
test_requires=['nose'],
test_suite='nose.collector',
entry_points="""
# -*- Entry points: -*-
""",
)