mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-11-22 12:35:02 +00:00
Added windows batch script
This commit is contained in:
parent
61a855a062
commit
47c45d9032
21
scripts/atrcopy.bat
Executable file
21
scripts/atrcopy.bat
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
@echo off
|
||||||
|
rem = """-*-Python-*- script
|
||||||
|
rem Windows batch script based on pylint's batch scripts
|
||||||
|
rem Don't know how this works, but it does.
|
||||||
|
rem
|
||||||
|
rem -------------------- DOS section --------------------
|
||||||
|
rem You could set PYTHONPATH or TK environment variables here
|
||||||
|
python -x "%~f0" %*
|
||||||
|
goto exit
|
||||||
|
|
||||||
|
"""
|
||||||
|
# -------------------- Python section --------------------
|
||||||
|
import os,sys
|
||||||
|
|
||||||
|
import atrcopy
|
||||||
|
|
||||||
|
atrcopy.run()
|
||||||
|
|
||||||
|
DosExitLabel = """
|
||||||
|
:exit
|
||||||
|
rem """
|
7
setup.py
7
setup.py
@ -23,13 +23,18 @@ classifiers = [
|
|||||||
with open("README.rst", "r") as fp:
|
with open("README.rst", "r") as fp:
|
||||||
long_description = fp.read()
|
long_description = fp.read()
|
||||||
|
|
||||||
|
if sys.platform.startswith("win"):
|
||||||
|
scripts = ["scripts/atrcopy.bat"]
|
||||||
|
else:
|
||||||
|
scripts = ["scripts/atrcopy"]
|
||||||
|
|
||||||
setup(name="atrcopy",
|
setup(name="atrcopy",
|
||||||
version=version,
|
version=version,
|
||||||
author="Rob McMullen",
|
author="Rob McMullen",
|
||||||
author_email="feedback@playermissile.com>",
|
author_email="feedback@playermissile.com>",
|
||||||
url="https://github.com/robmcmullen/atrcopy",
|
url="https://github.com/robmcmullen/atrcopy",
|
||||||
py_modules=["atrcopy"],
|
py_modules=["atrcopy"],
|
||||||
scripts=["scripts/atrcopy"],
|
scripts=scripts,
|
||||||
description="Disk image utilities for Atari 8-bit emulators",
|
description="Disk image utilities for Atari 8-bit emulators",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
license="GPL",
|
license="GPL",
|
||||||
|
Loading…
Reference in New Issue
Block a user