mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-11-21 21:31:16 +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:
|
||||
long_description = fp.read()
|
||||
|
||||
if sys.platform.startswith("win"):
|
||||
scripts = ["scripts/atrcopy.bat"]
|
||||
else:
|
||||
scripts = ["scripts/atrcopy"]
|
||||
|
||||
setup(name="atrcopy",
|
||||
version=version,
|
||||
author="Rob McMullen",
|
||||
author_email="feedback@playermissile.com>",
|
||||
url="https://github.com/robmcmullen/atrcopy",
|
||||
py_modules=["atrcopy"],
|
||||
scripts=["scripts/atrcopy"],
|
||||
scripts=scripts,
|
||||
description="Disk image utilities for Atari 8-bit emulators",
|
||||
long_description=long_description,
|
||||
license="GPL",
|
||||
|
Loading…
Reference in New Issue
Block a user