mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
Add missing dependencies and their repositories
- By adding the dependency_links statement, setup.py can now automatically fetch gbulb and cairoplot3 and install them. This makes users life easier.
This commit is contained in:
parent
f9d3bd107e
commit
5cec341f73
18
setup.py
18
setup.py
@ -4,6 +4,14 @@ from setuptools import setup, find_packages
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
|
requirements = [
|
||||||
|
"sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",
|
||||||
|
"python-dateutil", "prettytable", "h5py"
|
||||||
|
]
|
||||||
|
if os.name != 'nt':
|
||||||
|
requirements += ["pygobject", "gbulb", "cairoplot"]
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="artiq",
|
name="artiq",
|
||||||
version="0.0+dev",
|
version="0.0+dev",
|
||||||
@ -13,12 +21,12 @@ setup(
|
|||||||
description="A control system for trapped-ion experiments",
|
description="A control system for trapped-ion experiments",
|
||||||
long_description=open("README.rst").read(),
|
long_description=open("README.rst").read(),
|
||||||
license="BSD",
|
license="BSD",
|
||||||
install_requires=[
|
install_requires=requirements,
|
||||||
"sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",
|
|
||||||
"python-dateutil", "prettytable", "h5py"
|
|
||||||
],
|
|
||||||
extras_require={},
|
extras_require={},
|
||||||
dependency_links=[],
|
dependency_links=[
|
||||||
|
"git+https://github.com/m-labs/gbulb.git#egg=gbulb",
|
||||||
|
"git+https://github.com/m-labs/cairoplot3.git#egg=cairoplot"
|
||||||
|
],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
namespace_packages=[],
|
namespace_packages=[],
|
||||||
test_suite="artiq.test",
|
test_suite="artiq.test",
|
||||||
|
Loading…
Reference in New Issue
Block a user