xonsh/setup.py

36 lines
864 B
Python
Raw Normal View History

2015-03-07 12:02:04 -06:00
"""The xonsh installer."""
import os
import sys
import os, sys
try:
from setuptools import setup
HAVE_SETUPTOOLS = True
except ImportError:
from distutils.core import setup
HAVE_SETUPTOOLS = False
2015-03-07 12:09:30 -06:00
VERSION = '0.1'
2015-03-07 12:02:04 -06:00
def main():
2015-03-07 12:09:30 -06:00
with open('readme.rst', 'r') as f:
readme = f.read()
skw = dict(
name='xonsh',
description='an exotic, usable shell',
long_description=readme,
license='BSD',
version=VERSION,
author='Anthony Scopatz',
maintainer='Anthony Scopatz',
author_email='scopatz@gmail.com',
url='https://github.com/scopatz/xonsh',
platforms='Cross Platform',
classifiers = ['Programming Language :: Python :: 3'],
packages=['xonsh'],
2015-03-07 12:11:43 -06:00
scripts=['scripts/xonsh'],
2015-03-07 12:09:30 -06:00
)
2015-03-07 12:02:04 -06:00
setup(**skw)
if __name__ == '__main__':
main()