From 2b71cd25565f204192b2420ee1f04ac4c4544a89 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 2 Dec 2015 22:15:22 +0800 Subject: [PATCH] setup.py: remove push_doc command. --- setup.py | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/setup.py b/setup.py index 7750a0f38..36103c13f 100755 --- a/setup.py +++ b/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 + } )