Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (27 sloc) 619 Bytes
#!/usr/bin/python2
# -*- coding: utf-8 -*-
#
# This file is part of geotools - See LICENSE.txt
#
import sys
import os
from distutils.core import setup
from sphinx.setup_command import BuildDoc
cmdclass = {'build_sphinx': BuildDoc}
name = 'geotools'
release = '0.1.0'
try:
setup(
name = name,
author = 'Runar Tenfjord',
version = release,
cmdclass = cmdclass,
command_options = {
'build_sphinx': {
'builder': ('setup_docs.py', 'html'),
}
},
)
except:
print('Traceback\n:%s\n' % str(sys.exc_info()[-2]))
sys.exit(1)