Browse Source

Added pypi setup files

Corey Prophitt 5 years ago
parent
commit
c3ca421948
2 changed files with 35 additions and 0 deletions
  1. 2 0
      setup.cfg
  2. 33 0
      setup.py

+ 2 - 0
setup.cfg

@@ -0,0 +1,2 @@
+[metadata]
+description-file = README.md

+ 33 - 0
setup.py

@@ -0,0 +1,33 @@
+'''
+    Setup package information for PyPi distribution.
+'''
+
+# All standard library imports
+from distutils.core import setup
+
+# All nesi imports
+from nes import settings
+
+
+NESI_BUILD = settings.build()
+
+setup(
+    name='nesi',
+    packages=['nes'],
+    version='{major}.{minor}'.format(
+        major=NESI_BUILD['major_version'],
+        minor=NESI_BUILD['minor_version']
+    ),
+    description='A rom hacking tool for the analysis of .nes rom images.',
+    author=NESI_BUILD['author'],
+    author_email=NESI_BUILD['author_email'],
+    url='https://github.com/prophittcorey/nesi',
+    download_url='https://github.com/prophittcorey/nesi/tarball/'
+    '{major}.{minor}'.format(
+        major=NESI_BUILD['major_version'],
+        minor=NESI_BUILD['minor_version'],
+    ),
+    scripts=['nesi'],
+    keywords=['nes', 'rom', 'roms', 'emulation', 'hacking', 'tools'],
+    classifiers=[],
+)