FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 586a400a authored by Dean Rasheed's avatar Dean Rasheed
Browse files

Merge branch 'master' into 'master'

Add setup.py to allow for pip installation

See merge request uis/sysdev/devgroup/ibis/ibis-client!1
parents 5cd6ce78 7d4ae1f4
No related branches found
No related tags found
1 merge request!1Add setup.py to allow for pip installation
setup.py 0 → 100644
"""
Lookup/Ibis web service API
Python installation.
"""
import sys
from distutils.core import setup
# Source directory for each Python version is separate
if sys.version_info[0] == 2:
package_dir = "src/python/ibisclient"
else:
package_dir = "src/python3/ibisclient"
setup(
name="ibisclient",
version="1.2.11",
description="Lookup API client",
license="LGPL",
url="https://www.lookup.cam.ac.uk/doc/ws-doc/",
packages=["ibisclient"],
package_dir={"ibisclient": package_dir},
package_data={"ibisclient": ["cacerts.txt"]},
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment