/
setup.py
executable file
·59 lines (52 loc) · 1.72 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#! /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',
],
},
)