Skip to content

Commit 0091575

Browse files
committed
Add setup.py and release version 1.0.0
1 parent d180159 commit 0091575

File tree

3 files changed

+59
-4
lines changed

3 files changed

+59
-4
lines changed

README.rst

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,34 @@
33

44
A pure Python library for parsing Macintosh Rez source files, which are used by the legacy ``Rez`` and ``DeRez`` tools to compile, modify and decompile Macintosh resource fork data.
55

6-
**Note: This project is in very early development. Anything can (and probably will) change at any time.** If you encounter any bugs, please make an issue on the GitHub repo.
7-
86
Requirements
97
------------
108

119
Python 3.6 or later, as well as `PLY`__ (tested with version 3.10, but older and newer versions probably work too).
1210

1311
__ https://pypi.python.org/pypi/ply
12+
13+
Installation
14+
------------
15+
16+
``rezparser`` is available `on PyPI`__ and can be installed using ``pip``:
17+
18+
.. code-block:: sh
19+
20+
python3 -m pip install rezparser
21+
22+
Alternatively you can install a local copy:
23+
24+
.. code-block:: sh
25+
26+
python3 -m pip install -e .
27+
28+
__ https://pypi.python.org/pypi/rsrcfork
29+
30+
Changelog
31+
---------
32+
33+
Version 1.0.0
34+
`````````````
35+
36+
* Initial release version

rezparser/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from . import common
1+
__version__ = "1.0.0"
22

3-
__version__ = "0.0.0"
3+
from . import common

setup.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/usr/bin/env python3
2+
3+
import setuptools
4+
5+
with open("README.rst", "r", encoding="utf-8") as f:
6+
long_description = f.read()
7+
8+
setuptools.setup(
9+
name="rezparser",
10+
version="1.0.0",
11+
description="A pure Python library for parsing Macintosh Rez source files",
12+
long_description=long_description,
13+
url="https://github.com/dgelessus/python-rezparser",
14+
author="dgelessus",
15+
license="MIT",
16+
classifiers=[
17+
"Development Status :: 4 - Beta",
18+
"Intended Audience :: Developers",
19+
"Topic :: Software Development :: Libraries :: Python Modules",
20+
"Topic :: Utilities",
21+
"License :: OSI Approved :: MIT License",
22+
"Operating System :: OS Independent",
23+
"Programming Language :: Python",
24+
"Programming Language :: Python :: 3",
25+
"Programming Language :: Python :: 3 :: Only",
26+
"Programming Language :: Python :: 3.6",
27+
],
28+
keywords="rez resource macintosh mac macos",
29+
python_requires=">=3.6",
30+
packages=["rezparser"],
31+
install_requires=["ply"],
32+
)

0 commit comments

Comments
 (0)