#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-# Copyright © 2014, 2015, 2017 Simon Forman
+# Copyright © 2014, 2015, 2017, 2019 Simon Forman
#
# This file is part of Thun
#
# You should have received a copy of the GNU General Public License
# along with Thun. If not see <http://www.gnu.org/licenses/>.
#
-from distutils.core import setup
+from setuptools import setup
from textwrap import dedent
setup(
- name='Thun',
- version='0.2.0',
- description='Python Implementation of Joy',
- long_description=dedent('''\
- Joy is a programming language created by Manfred von Thun that is easy to
- use and understand and has many other nice properties. This Python
- package implements an interpreter for a dialect of Joy that attempts to
- stay very close to the spirit of Joy but does not precisely match the
- behaviour of the original version written in C.'''),
- author='Simon Forman',
- author_email='forman.simon@gmail.com',
- url='https://joypy.osdn.io',
- license='GPLv3+',
- packages=['joy', 'joy.utils', 'joy.gui', 'joy.vui'],
- classifiers=[
- 'Development Status :: 4 - Beta',
- 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
- 'Programming Language :: Python :: 2.7',
- 'Programming Language :: Other',
- 'Topic :: Software Development :: Interpreters',
- ],
- )
+ name='Thun',
+ version='0.4.1',
+ description='Python Implementation of Joy',
+ long_description=dedent('''\
+ Joy is a programming language created by Manfred von Thun that is easy to
+ use and understand and has many other nice properties. This Python
+ package implements an interpreter for a dialect of Joy that attempts to
+ stay very close to the spirit of Joy but does not precisely match the
+ behaviour of the original version written in C.'''),
+ author='Simon Forman',
+ author_email='sforman@hushmail.com',
+ url='https://joypy.osdn.io',
+ license='GPLv3+',
+ packages=['joy', 'joy.utils'],
+ package_data={
+ 'joy': ['defs.txt'],
+ },
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Other',
+ 'Topic :: Software Development :: Interpreters',
+ ],
+ extras_require={
+ 'build-docs': [
+ 'sphinx',
+ 'ipython',
+ 'nbconvert',
+ ],
+ }
+ )