Skip to content

Commit 3b51479

Browse files
committed
added setup files
1 parent 925bcbd commit 3b51479

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Polyend Tracker MIDI Export tool
22

3-
An effort to create a midi conversion tool for Polyend tracker project files.
3+
MIDI conversion tool for Polyend Tracker project files.
44

55
## Disclaimer
66

polytracker2midi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ def main():
4040
pass
4141

4242
if not os.path.isfile(input_filename):
43-
print(f"{input_filename} does not exist")
43+
print(f"File {input_filename} does not exist")
4444
sys.exit(1)
4545

4646
if os.path.isfile(output_filename):
47-
print(f"{output_filename} already exists - will overwrite")
47+
print(f"File {output_filename} already exists - will overwrite")
4848

4949
p = patterns.PatternParser(filename=input_filename)
5050
parsed_pattern = p.parse()

setup.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
from setuptools import setup, find_packages
2+
with open("README.md", "r", encoding="utf-8") as fh:
3+
long_description = fh.read()
4+
with open("requirements.txt", "r", encoding="utf-8") as fh:
5+
requirements = fh.read()
6+
setup(
7+
name = 'polyendtracker-midi-export',
8+
version = '0.0.1',
9+
author = 'Alexey Strelkov',
10+
author_email = '[email protected]',
11+
license = 'MIT License',
12+
description = 'Unoficial tool that converts Polyend Tracker *.mtp pattern files to midi files.',
13+
long_description = long_description,
14+
long_description_content_type = "text/markdown",
15+
url = 'https://github.com/DataGreed/polyendtracker-midi-export',
16+
py_modules = ['parsers', 'exporters'],
17+
packages = find_packages(),
18+
install_requires = [requirements],
19+
python_requires='>=3.7',
20+
classifiers=[
21+
"Programming Language :: Python :: 3.9",
22+
"Operating System :: OS Independent",
23+
],
24+
entry_points = '''
25+
[console_scripts]
26+
polymidiexport=polytracker2midi:main
27+
'''
28+
)

0 commit comments

Comments
 (0)