2009-06-06 23:21:44 +00:00
|
|
|
__version__ = '0.4'
|
2008-09-10 02:34:04 +00:00
|
|
|
|
|
|
|
from ez_setup import use_setuptools
|
|
|
|
use_setuptools()
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2009-06-04 00:42:37 +00:00
|
|
|
if sys.version_info[:2] < (2, 4):
|
2009-04-05 02:14:53 +00:00
|
|
|
msg = ("Py65 requires Python 2.4 or better, you are attempting to "
|
2008-09-10 02:34:04 +00:00
|
|
|
"install it using version %s. Please install with a "
|
2009-06-04 00:42:37 +00:00
|
|
|
"supported version" % sys.version)
|
|
|
|
sys.stderr.write(msg)
|
|
|
|
sys.exit(1)
|
2008-09-10 02:34:04 +00:00
|
|
|
|
|
|
|
from setuptools import setup, find_packages
|
2009-06-04 00:42:37 +00:00
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
2008-09-10 02:34:04 +00:00
|
|
|
|
|
|
|
DESC = """\
|
2009-06-04 00:03:13 +00:00
|
|
|
Simulate 6502-based microcomputer systems in Python."""
|
2008-09-10 02:34:04 +00:00
|
|
|
|
|
|
|
CLASSIFIERS = [
|
|
|
|
'Development Status :: 3 - Alpha',
|
|
|
|
'Environment :: Console',
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'Operating System :: POSIX',
|
|
|
|
'Programming Language :: Assembly',
|
|
|
|
'Topic :: Software Development :: Assemblers',
|
|
|
|
'Topic :: Software Development :: Disassemblers',
|
|
|
|
'Topic :: Software Development :: Debuggers',
|
|
|
|
'Topic :: Software Development :: Embedded Systems',
|
|
|
|
'Topic :: Software Development :: Interpreters',
|
|
|
|
'Topic :: System :: Emulators',
|
|
|
|
'Topic :: System :: Hardware'
|
|
|
|
]
|
|
|
|
|
2009-06-04 00:42:37 +00:00
|
|
|
setup(
|
2008-09-10 02:34:04 +00:00
|
|
|
name = 'py65',
|
2009-06-04 00:42:37 +00:00
|
|
|
version = __version__,
|
2008-11-10 03:09:53 +00:00
|
|
|
license = 'License :: OSI Approved :: BSD License',
|
2009-06-04 00:03:13 +00:00
|
|
|
url = 'http://github.com/mnaberez/py65',
|
|
|
|
download_url = 'http://github.com/mnaberez/py65/downloads',
|
2008-09-10 02:34:04 +00:00
|
|
|
description = '6502 microprocessor simulation package',
|
|
|
|
long_description= DESC,
|
|
|
|
classifiers = CLASSIFIERS,
|
|
|
|
author = "Mike Naberezny",
|
|
|
|
author_email = "mike@naberezny.com",
|
|
|
|
maintainer = "Mike Naberezny",
|
|
|
|
maintainer_email = "mike@naberezny.com",
|
|
|
|
package_dir = {'':'src'},
|
|
|
|
packages = find_packages(os.path.join(here, 'src')),
|
|
|
|
# put data files in egg 'doc' dir
|
|
|
|
data_files=[ ('doc', [
|
2009-02-27 03:17:05 +00:00
|
|
|
'CHANGES',
|
2009-06-04 00:03:13 +00:00
|
|
|
'README.markdown',
|
2009-02-27 03:17:05 +00:00
|
|
|
'TODO',
|
2008-09-10 02:34:04 +00:00
|
|
|
]
|
|
|
|
)],
|
|
|
|
install_requires = [],
|
|
|
|
extras_require = {},
|
|
|
|
tests_require = [],
|
|
|
|
include_package_data = True,
|
|
|
|
zip_safe = False,
|
|
|
|
namespace_packages = ['py65'],
|
|
|
|
test_suite = "py65.tests",
|
|
|
|
entry_points = {
|
|
|
|
'console_scripts': [
|
|
|
|
'py65mon = py65.monitor:main',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|