Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 60 lines (52 sloc) 1.72 KB
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from os.path import join, dirname
from setuptools import setup, find_packages
with open(join(dirname(__file__), 'zxtools', '__init__.py'), 'r') as f:
version_info = re.match(r".*__version__ = '(.*?)'", f.read(), re.S).group(1)
with open('README.rst') as f:
long_readme = f.read()
dev_requires = [
'pytest>=2.8',
'coverage>=3.7.1',
]
setup(
name='zxtools',
version=version_info,
description='Tools to manipulate files from ZX Spectrum',
keywords='spectrum sinclair 48k z80 zeus zeus-asm',
long_description=long_readme,
author='Kirill V. Lyadvinsky',
author_email='mail@codeatcpp.com',
download_url='https://github.com/codeatcpp/zxtools',
url='http://www.codeatcpp.com',
license='BSD-3-Clause',
packages=find_packages(exclude=('test', 'docs')),
tests_require=['mock'],
extras_require={
'test': dev_requires,
},
test_suite='test',
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development',
'Topic :: Utilities',
],
entry_points={
'console_scripts': [
'zeus2txt = zxtools.zeus2txt:main',
'hobeta = zxtools.hobeta:main',
],
},
)