Mercurial > hg > tvii
diff setup.py @ 0:a70bd2cd508b
initial commit
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 13 Aug 2017 16:00:15 -0700 |
parents | |
children | bb8b6b06ca83 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/setup.py Sun Aug 13 16:00:15 2017 -0700 @@ -0,0 +1,46 @@ +""" +setup packaging script for tvii +""" + +import os + +version = "0.0" +dependencies = ['MakeItSo', 'webob'] + +# allow use of setuptools/distribute or distutils +kw = {} +try: + from setuptools import setup + kw['entry_points'] = """ + [console_scripts] + tvii = tvii.main:main + tvii-template = tvii.template:main +""" + kw['install_requires'] = dependencies +except ImportError: + from distutils.core import setup + kw['requires'] = dependencies + +try: + here = os.path.dirname(os.path.abspath(__file__)) + description = open(os.path.join(here, 'README.txt')).read() +except IOError: + description = '' + + +setup(name='tvii', + version=version, + description="TV2", + long_description=description, + classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers + author='Jeff Hammel', + author_email='k0scist@gmail.com', + url='http://k0s.org/hg/tvii', + license='', + packages=['tvii'], + include_package_data=True, + tests_require=['tox'], + zip_safe=False, + **kw + ) +