Skip to content

Commit 357b8af

Browse files
committed
Declare dependency on requests package
1 parent 96b757d commit 357b8af

File tree

1 file changed

+32
-27
lines changed

1 file changed

+32
-27
lines changed

setup.py

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,44 @@
1919
Also installs included versions of third party libraries, if those libraries
2020
are not already installed.
2121
"""
22-
from distutils.core import setup
22+
from setuptools import setup
2323
from labkey import __version__
2424

2525
packages = [
26-
'labkey'
26+
'labkey'
27+
]
28+
29+
requires = [
30+
'requests'
2731
]
2832

2933
long_desc = "Python client API for LabKey Server. Supports for query, wiki, and messageboard APIs."
3034

3135
setup(
32-
name='labkey',
33-
version=__version__,
34-
description='Python client API for LabKey Server',
35-
long_description=long_desc,
36-
license="Apache License 2.0",
37-
author='Elizabeth Nelson',
38-
author_email='eknelson@labkey.com',
39-
maintainer='Brian Connolly',
40-
maintainer_email='brian@labkey.com',
41-
url='https://github.com/LabKey/labkey-api-python',
42-
packages=packages,
43-
package_data={},
44-
keywords="labkey api client",
45-
classifiers=[
46-
'Development Status :: 4 - Beta',
47-
'Environment :: Console',
48-
'Intended Audience :: Science/Research',
49-
'Intended Audience :: System Administrators',
50-
'License :: OSI Approved :: Apache Software License',
51-
'Operating System :: MacOS',
52-
'Operating System :: Microsoft',
53-
'Operating System :: POSIX',
54-
'Programming Language :: Python :: 2',
55-
'Topic :: Scientific/Engineering'
56-
]
36+
name='labkey',
37+
version=__version__,
38+
description='Python client API for LabKey Server',
39+
long_description=long_desc,
40+
license="Apache License 2.0",
41+
author='Elizabeth Nelson',
42+
author_email='eknelson@labkey.com',
43+
maintainer='Brian Connolly',
44+
maintainer_email='brian@labkey.com',
45+
url='https://github.com/LabKey/labkey-api-python',
46+
packages=packages,
47+
package_data={},
48+
install_requires=requires,
49+
keywords="labkey api client",
50+
classifiers=[
51+
'Development Status :: 4 - Beta',
52+
'Environment :: Console',
53+
'Intended Audience :: Science/Research',
54+
'Intended Audience :: System Administrators',
55+
'License :: OSI Approved :: Apache Software License',
56+
'Operating System :: MacOS',
57+
'Operating System :: Microsoft',
58+
'Operating System :: POSIX',
59+
'Programming Language :: Python :: 2',
60+
'Topic :: Scientific/Engineering'
61+
]
5762
)

0 commit comments

Comments
 (0)