Skip to content

Commit

Permalink
Add setup.py and release version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dgelessus committed Jul 17, 2017
1 parent d180159 commit 0091575
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 4 deletions.
27 changes: 25 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,34 @@

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.

**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.

Requirements
------------

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

__ https://pypi.python.org/pypi/ply

Installation
------------

``rezparser`` is available `on PyPI`__ and can be installed using ``pip``:

.. code-block:: sh
python3 -m pip install rezparser
Alternatively you can install a local copy:

.. code-block:: sh
python3 -m pip install -e .
__ https://pypi.python.org/pypi/rsrcfork

Changelog
---------

Version 1.0.0
`````````````

* Initial release version
4 changes: 2 additions & 2 deletions rezparser/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from . import common
__version__ = "1.0.0"

__version__ = "0.0.0"
from . import common
32 changes: 32 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/env python3

import setuptools

with open("README.rst", "r", encoding="utf-8") as f:
long_description = f.read()

setuptools.setup(
name="rezparser",
version="1.0.0",
description="A pure Python library for parsing Macintosh Rez source files",
long_description=long_description,
url="https://github.com/dgelessus/python-rezparser",
author="dgelessus",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
],
keywords="rez resource macintosh mac macos",
python_requires=">=3.6",
packages=["rezparser"],
install_requires=["ply"],
)

0 comments on commit 0091575

Please sign in to comment.