forked from openstax/rhaptos.cnxmlutils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (41 loc) · 1.31 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (41 loc) · 1.31 KB
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
from setuptools import setup, find_packages
import os
"""
Copyright (C) 2013 Rice University
This software is subject to the provisions of the GNU AFFERO GENERAL PUBLIC LICENSE Version 3.0 (AGPL).
See LICENSE.txt for details.
"""
import os
import sys
from setuptools import setup, find_packages
IS_PY24 = sys.version_info < (2, 7,)
install_requires = [
'setuptools',
]
if not IS_PY24:
# Only list lxml as a dependency when outside the legacy context,
# which is one that isn't running python >= 2.7.
install_requires.append('lxml')
version = '1.2'
setup(name='rhaptos.cnxmlutils',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"Programming Language :: Python",
],
keywords='',
author='Rhaptos Developers',
author_email='rhaptos@rhaptos.org',
url='http://rhaptos.org',
license='GPL',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['rhaptos'],
include_package_data=True,
zip_safe=False,
test_suite='rhaptos.cnxmlutils.tests',
install_requires=install_requires,
)