2016-02-12 20:36:33 -08:00
|
|
|
import sys
|
|
|
|
|
2015-09-26 15:52:54 -07:00
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2019-03-07 12:04:17 -08:00
|
|
|
exec(compile(open('atrcopy/_version.py').read(), 'atrcopy/_version.py', 'exec'))
|
|
|
|
exec(compile(open('atrcopy/_metadata.py').read(), 'atrcopy/_metadata.py', 'exec'))
|
2015-09-26 15:52:54 -07:00
|
|
|
|
|
|
|
with open("README.rst", "r") as fp:
|
|
|
|
long_description = fp.read()
|
|
|
|
|
2016-02-11 23:40:16 -08:00
|
|
|
if sys.platform.startswith("win"):
|
|
|
|
scripts = ["scripts/atrcopy.bat"]
|
|
|
|
else:
|
|
|
|
scripts = ["scripts/atrcopy"]
|
|
|
|
|
2015-09-26 15:52:54 -07:00
|
|
|
setup(name="atrcopy",
|
2017-05-02 19:43:21 -07:00
|
|
|
version=__version__,
|
|
|
|
author=__author__,
|
|
|
|
author_email=__author_email__,
|
|
|
|
url=__url__,
|
|
|
|
packages=["atrcopy"],
|
|
|
|
include_package_data=True,
|
|
|
|
scripts=scripts,
|
2019-03-04 21:56:31 -08:00
|
|
|
entry_points={"sawx.loaders": 'atrcopy = atrcopy.omnivore_loader'},
|
2017-05-06 22:13:32 -07:00
|
|
|
description="Utility to manage file systems on Atari 8-bit (DOS 2) and Apple ][ (DOS 3.3) disk images.",
|
2017-05-02 19:43:21 -07:00
|
|
|
long_description=long_description,
|
|
|
|
license="GPL",
|
|
|
|
classifiers=[
|
2017-05-08 11:58:49 -07:00
|
|
|
"Programming Language :: Python :: 3.6",
|
2017-05-02 19:43:21 -07:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: GNU General Public License (GPL)",
|
|
|
|
"Topic :: Software Development :: Libraries",
|
|
|
|
"Topic :: Utilities",
|
|
|
|
],
|
2018-09-24 11:25:33 -07:00
|
|
|
python_requires = '>=3.6',
|
2017-05-02 19:43:21 -07:00
|
|
|
install_requires = [
|
|
|
|
'numpy',
|
|
|
|
],
|
|
|
|
tests_require = [
|
2017-05-08 11:58:49 -07:00
|
|
|
'pytest>3.0',
|
|
|
|
'coverage',
|
|
|
|
'pytest.cov',
|
2017-05-02 19:43:21 -07:00
|
|
|
],
|
|
|
|
)
|