Skip to content

Commit

Permalink
Upload documentation to m-labs.hk.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Mar 30, 2015
1 parent 27198c4 commit baa39c4
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions setup.py
@@ -1,12 +1,22 @@
from setuptools import setup, find_packages
from setuptools import setup, find_packages, Command
import os

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/_build/html/ shell.serverraum.org:~/web/m-labs.hk/pyparser')

setup(
name="artiq",
version="0.0+dev",
author="whitequark",
author_email="whitequark@whitequark.org",
url="https://m-labs.github.io/pyparser",
url="http://m-labs.hk/pyparser",
description="A Python parser intended for use in tooling",
long_description=open("README.rst").read(),
license="BSD",
Expand All @@ -18,5 +28,6 @@
test_suite="pyparser.test",
package_data={},
ext_modules=[],
entry_points={}
entry_points={},
cmdclass={'push_doc':PushDocCommand}
)

0 comments on commit baa39c4

Please sign in to comment.