hy/setup.py

74 lines
2.6 KiB
Python
Raw Normal View History

2013-03-01 04:27:20 +01:00
#!/usr/bin/env python
2013-03-03 02:24:32 +01:00
# Copyright (c) 2012 Paul Tagliamonte <paultag@debian.org>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
2013-03-01 04:27:20 +01:00
from hy import __appname__, __version__
from setuptools import setup
import os
2013-03-03 02:24:32 +01:00
2013-03-06 02:28:09 +01:00
long_description = """Hy is a Python <--> Lisp layer. It helps
make things work nicer, and lets Python and the Hy lisp variant play
nice together. """
2013-03-01 04:27:20 +01:00
install_requires = []
if os.name == 'nt':
install_requires.append('pyreadline==2.0')
2013-03-03 02:24:32 +01:00
2013-03-01 04:27:20 +01:00
setup(
name=__appname__,
version=__version__,
install_requires=install_requires,
2013-03-03 03:30:37 +01:00
scripts=[
2013-03-03 22:26:17 +01:00
"bin/hy",
2013-03-22 00:27:34 +01:00
"bin/hyc",
2013-03-03 03:30:37 +01:00
],
2013-03-01 04:27:20 +01:00
packages=[
'hy',
'hy.lex',
2013-03-09 00:47:59 +01:00
'hy.core',
2013-03-03 02:24:32 +01:00
'hy.models',
2013-03-28 03:19:57 +01:00
'hy.contrib',
2013-03-01 04:27:20 +01:00
],
author="Paul Tagliamonte",
2013-03-03 02:24:32 +01:00
author_email="tag@pault.ag",
2013-03-01 04:27:20 +01:00
long_description=long_description,
2013-03-03 02:24:32 +01:00
description='Lisp and Python love each other.',
2013-03-01 04:27:20 +01:00
license="Expat",
2013-03-03 02:24:32 +01:00
url="http://hy.pault.ag/",
2013-03-10 22:41:35 +01:00
platforms=['any'],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: DFSG approved",
"License :: OSI Approved :: MIT License", # Really "Expat". Ugh.
"Operating System :: OS Independent",
"Programming Language :: Lisp",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
2013-03-10 22:41:35 +01:00
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Libraries",
]
2013-03-01 04:27:20 +01:00
)