view setup.py @ 242:5cb893831f53

fix for when output is not supplied
author Jeff Hammel <k0scist@gmail.com>
date Tue, 23 Aug 2016 15:34:27 -0700
parents 08a0a178286f
children ba7dd9820181
line wrap: on
line source

"""
setup.py script for MakeItSo

For packaging info please see:
https://docs.python.org/2/distutils/sourcedist.html
"""
# https://github.com/nipy/nipype/blob/master/setup.py
# might also be helpful

import os
from setuptools import setup
join = os.path.join

try:
    here = os.path.dirname(os.path.abspath(__file__))
    description = file(os.path.join(here, 'README.txt')).read()
except IOError:
    description = ''

version = '0.4.2'

setup(name='MakeItSo',
      version=version,
      description='filesystem template interpreter',
      long_description=description,
      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='templates',
      author='Jeff Hammel',
      author_email='k0scist@gmail.com',
      url='http://k0s.org/hg/MakeItSo',
      license='MPL',
      packages=['makeitso'],
      include_package_data=True,
      package_data={'makeitso': [
            join('python_package', 'tests', '*')
#            'python_package/*'
]},
      zip_safe=False,
      install_requires=[
          # -*- Extra requirements: -*-
          'tempita >= 0.5.1',
          'webob',
      ],
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      makeitso = makeitso.makeitso:main
      make-python-package = makeitso.python:main
      mkpydir = makeitso.mkpydir:main
      script2package = makeitso.script2package:main
      file2template = makeitso.file2template:main

      [makeitso.templates]
      python-package = makeitso.python:PythonPackageTemplate
      python-module = makeitso.python:PythonModuleTemplate
      python-script = makeitso.python:PythonScriptTemplate
      setup.py = makeitso.python:SetupPy
      python-unittest = makeitso.python:Unittest
      """,
      )