forked from M-Labs/artiq
setup.py: remove push_doc command.
This commit is contained in:
parent
272480cd26
commit
2b71cd2556
22
setup.py
22
setup.py
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from setuptools import setup, find_packages, Command
|
||||
from setuptools import setup, find_packages
|
||||
import sys
|
||||
import os
|
||||
|
||||
|
@ -11,20 +11,6 @@ if sys.version_info[:3] < (3, 5, 0):
|
|||
raise Exception("You need Python 3.5.0+")
|
||||
|
||||
|
||||
class PushDocCommand(Command):
|
||||
description = "uploads the documentation to m-labs.hk"
|
||||
user_options = []
|
||||
|
||||
def initialize_options(self):
|
||||
pass
|
||||
|
||||
def finalize_options(self):
|
||||
pass
|
||||
|
||||
def run(self):
|
||||
os.system("rsync -avz doc/manual/_build/html/ shell.serverraum.org:~/web/m-labs.hk/artiq/manual")
|
||||
|
||||
|
||||
requirements = [
|
||||
"sphinx", "sphinx-argparse", "pyserial", "numpy", "scipy",
|
||||
"python-dateutil", "prettytable", "h5py", "pydaqmx", "pyelftools",
|
||||
|
@ -52,9 +38,6 @@ scripts = [
|
|||
"thorlabs_tcube_controller=artiq.frontend.thorlabs_tcube_controller:main",
|
||||
]
|
||||
|
||||
cmdclass = {"push_doc": PushDocCommand}
|
||||
cmdclass.update(versioneer.get_cmdclass())
|
||||
|
||||
setup(
|
||||
name="artiq",
|
||||
version=versioneer.get_version(),
|
||||
|
@ -77,6 +60,5 @@ setup(
|
|||
ext_modules=[],
|
||||
entry_points={
|
||||
"console_scripts": scripts,
|
||||
},
|
||||
cmdclass=cmdclass
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue