Skip to content

Commit

Permalink
setup.py: remove push_doc command.
Browse files Browse the repository at this point in the history
whitequark committed Dec 2, 2015
1 parent 272480c commit 2b71cd2
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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 @@
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 @@ def run(self):
"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 @@ def run(self):
ext_modules=[],
entry_points={
"console_scripts": scripts,
},
cmdclass=cmdclass
}
)

0 comments on commit 2b71cd2

Please sign in to comment.