mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-18 12:00:28 +01:00
Added tox, setup.py, executable, test-req
This commit is contained in:
16
script/fs-uae-wrapper
Executable file
16
script/fs-uae-wrapper
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Run CD32 games using fsuae
|
||||
"""
|
||||
|
||||
from fs_uae_wrapper import wrapper
|
||||
|
||||
|
||||
def main():
|
||||
"""run wrapper"""
|
||||
wrapper.run()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
31
setup.py
Executable file
31
setup.py
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env python
|
||||
"""
|
||||
Setup for the fs-uae-wrapper
|
||||
"""
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
setup(name='fs-uae wrapper',
|
||||
packages=['fs_uae_wrapper'],
|
||||
version='0.1',
|
||||
description='Automate archives and state for fs-uae',
|
||||
author='Roman Dobosz',
|
||||
author_email='gryf73@gmail.com',
|
||||
url='https://github.com/gryf/fs-uea-wrapper',
|
||||
download_url='https://github.com/gryf/pygtktalog.git',
|
||||
keywords=['uae', 'fs-uae', 'amiga', 'emulator', 'wrapper'],
|
||||
scripts=['script/fs-uae-wrapper'],
|
||||
classifiers=['Programming Language :: Python :: 2',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Development Status :: 4 - Beta',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: End Users/Desktop',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: OS Independent',
|
||||
'Topic :: System :: Emulators',
|
||||
'Topic :: Games/Entertainment'],
|
||||
long_description=open('README.rst').read(),
|
||||
options={'test': {'verbose': False,
|
||||
'coverage': False}})
|
||||
5
test-requirements.txt
Normal file
5
test-requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
pytest
|
||||
pytest-cov
|
||||
pytest-pep8
|
||||
coverage
|
||||
flake8
|
||||
20
tox.ini
Normal file
20
tox.ini
Normal file
@@ -0,0 +1,20 @@
|
||||
[tox]
|
||||
envlist = py27,py34,py27-flake8,py34-flake8
|
||||
|
||||
usedevelop = True
|
||||
|
||||
[testenv]
|
||||
usedevelop=True
|
||||
setenv = COVERAGE_FILE = .coverage
|
||||
commands = py.test --cov=fs_uae_wrapper --cov-report=term-missing
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:py34-flake8]
|
||||
basepython = python3.4
|
||||
deps = flake8
|
||||
commands = flake8 {posargs}
|
||||
|
||||
[testenv:py27-flake8]
|
||||
basepython = python2.7
|
||||
deps = flake8
|
||||
commands = flake8 {posargs}
|
||||
Reference in New Issue
Block a user