From 1a9f52935fdb1fd6c06083f999ec50c1f9c1c608 Mon Sep 17 00:00:00 2001 From: Othman Date: Fri, 7 Jul 2017 20:04:48 +0100 Subject: [PATCH] Added missing README, LICENSE, .gitignore, setup.py --- pygame/.gitignore | 71 ++++++++++++++++++++++++++++ pygame/LICENSE | 21 ++++++++ pygame/{README.txt => README} | 0 pygame/setup.py | 50 ++++++++++++++++++++ pygame_reborn/.gitignore | 71 ++++++++++++++++++++++++++++ pygame_reborn/LICENSE | 21 ++++++++ pygame_reborn/{README.txt => README} | 0 7 files changed, 234 insertions(+) create mode 100644 pygame/.gitignore create mode 100644 pygame/LICENSE rename pygame/{README.txt => README} (100%) create mode 100644 pygame/setup.py create mode 100644 pygame_reborn/.gitignore create mode 100644 pygame_reborn/LICENSE rename pygame_reborn/{README.txt => README} (100%) diff --git a/pygame/.gitignore b/pygame/.gitignore new file mode 100644 index 0000000..fdea9b8 --- /dev/null +++ b/pygame/.gitignore @@ -0,0 +1,71 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +env/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +.cache + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Ipython Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# Vim +*.swp +*.*~ diff --git a/pygame/LICENSE b/pygame/LICENSE new file mode 100644 index 0000000..fed0532 --- /dev/null +++ b/pygame/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [2017] [Othman Alikhan] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pygame/README.txt b/pygame/README similarity index 100% rename from pygame/README.txt rename to pygame/README diff --git a/pygame/setup.py b/pygame/setup.py new file mode 100644 index 0000000..8be87c5 --- /dev/null +++ b/pygame/setup.py @@ -0,0 +1,50 @@ +import os +import sys + +from cx_Freeze import setup, Executable + +PYTHON_INSTALL_DIR = os.path.join("C:\\Users", "OzAli", "Anaconda3") +os.environ['TCL_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6') +os.environ['TK_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tk8.6') + +base = None +if sys.platform == "win32": + base = "Win32GUI" + +buildOptions = dict(packages=["pygame"], + excludes=["tkinter", + "email", + "html", + "http", + "xml", + "xmlrpc", + "lib2to3", + "json", + "ctypes", + "multiprocessing", + "pydoc_data", + "urllib", + "distutils", + "logging", + "unittest", + "test" + ], + include_files=["README", + "LICENSE", + "Artwork/", + "Extra/"], + build_exe="build") + +executables = [ + Executable('exiled.py', + targetName="exiled.exe", + base=base) +] + +setup(name='exiled', + version='1.0', + description='A platformer (grappling hook) game made using pygame', + options=dict(build_exe=buildOptions), + executables=executables +) + diff --git a/pygame_reborn/.gitignore b/pygame_reborn/.gitignore new file mode 100644 index 0000000..fdea9b8 --- /dev/null +++ b/pygame_reborn/.gitignore @@ -0,0 +1,71 @@ +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +env/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +.cache + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Ipython Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# Vim +*.swp +*.*~ diff --git a/pygame_reborn/LICENSE b/pygame_reborn/LICENSE new file mode 100644 index 0000000..fed0532 --- /dev/null +++ b/pygame_reborn/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [2017] [Othman Alikhan] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pygame_reborn/README.txt b/pygame_reborn/README similarity index 100% rename from pygame_reborn/README.txt rename to pygame_reborn/README