From 136ef82d80c7a37f9693cecba2071b7d86f9e9af Mon Sep 17 00:00:00 2001 From: BatemaDevelopment Date: Sun, 6 Feb 2022 19:23:35 -0500 Subject: [PATCH] v1.3.0 (#9) --- .gitattributes | 9 ++ .../changelog_pr_template.md | 4 + .github/workflows/python-publish.yml | 36 ----- CHANGELOG.md | 19 +++ CODE_OF_CONDUCT.md | 128 ++++++++++++++++++ CONTRIBUTING.md | 2 + PYSlots/__init__.py | 2 +- PYSlots/__main__.py | 116 +++++----------- PYSlots/args.py | 26 ++-- PYSlots/original_gamemode.py | 103 ++++++++++++++ PYSlots/other_games.py | 6 + PYSlots/update.py | 15 +- PYSlots/user_input_gamemode.py | 121 +++++++++++++++++ SECURITY.md | 15 ++ setup.py | 27 +--- 15 files changed, 463 insertions(+), 166 deletions(-) create mode 100644 .gitattributes create mode 100644 .github/PULL_REQUEST_TEMPLATE/changelog_pr_template.md delete mode 100644 .github/workflows/python-publish.yml create mode 100644 CHANGELOG.md create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 PYSlots/original_gamemode.py create mode 100644 PYSlots/other_games.py create mode 100644 PYSlots/user_input_gamemode.py create mode 100644 SECURITY.md diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c6e7aed --- /dev/null +++ b/.gitattributes @@ -0,0 +1,9 @@ +# linguist-detectable +/.github/*.yml linguist-detectable +/.github/workflows/*.yml linguist-detectable +/*.md linguist-detectable + +# -liguist-documentatiom +/.github/*.yml -linguist-documentation +/.github/workflows/*.yml -linguist-documentation +/*.md -linguist-documentation diff --git a/.github/PULL_REQUEST_TEMPLATE/changelog_pr_template.md b/.github/PULL_REQUEST_TEMPLATE/changelog_pr_template.md new file mode 100644 index 0000000..583be85 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/changelog_pr_template.md @@ -0,0 +1,4 @@ +# Changelog [ (VERSION NUMBER) ] +- Example Change +- Example Change +- Example Change diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml deleted file mode 100644 index 783307b..0000000 --- a/.github/workflows/python-publish.yml +++ /dev/null @@ -1,36 +0,0 @@ -# This workflow will upload a Python Package using Twine when a release is created -# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. - -name: Upload Python Package - -on: - release: - types: [published] - -jobs: - deploy: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.8' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install build - - name: Build package - run: python -m build - - name: Publish package - uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..230c80f --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,19 @@ +# PYSlots Changelog +## v1.1.0 +### What's Changed +- Update setup.py by Lukas-Batema in #1 +### New Contributors +- Lukas-Batema made their first contribution in #1 +___ +## v1.1.1 +### What's Changed +- Updated version in: setup.py, since I forgot to in the previous version +___ +## v1.2.0 +### What's Changed +- Create dependabot.yml by Lukas-Batema in #3 +- 1.2.0 by Lukas-Batema in #2 +___ +## v1.3.0 +### What's Changed +- ***TBD*** \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..6c00856 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,128 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +lukasbatema@gmail.com. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..c7999a7 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,2 @@ +# Contributing Guidelines +***WIP*** diff --git a/PYSlots/__init__.py b/PYSlots/__init__.py index a875311..0305962 100644 --- a/PYSlots/__init__.py +++ b/PYSlots/__init__.py @@ -1 +1 @@ -VERSION = "1.2.0" \ No newline at end of file +VERSION = "1.3.0" # Set the PYSlot Version diff --git a/PYSlots/__main__.py b/PYSlots/__main__.py index d452637..012b74e 100644 --- a/PYSlots/__main__.py +++ b/PYSlots/__main__.py @@ -1,100 +1,54 @@ +# import modules import random as rand import sys, os from . import __init__ as __init__ +from . import original_gamemode as og_gm +from . import user_input_gamemode as user_input_gm +from .other_games import menu as other_games_menu from .args import parse_args from .update import update - - +# -------------------------------------------------- def main(): + """ + main(): + - Description: + The Main Menu Page + - Arguments: + None + """ + args = parse_args() if args.update: - print("This feature currently does not work. Please use 'pip install --upgrade pyslots', to update.") + update() sys.exit(0) - # update() if args.version: - print("This feature currently does not work! Check back later.") - # print("PYSlots Version:", __init__.VERSION) + print("PYSlots Version:", __init__.VERSION) sys.exit(0) else: - current_money = 1000 - times_looped = 0 - user_input = "Press \"Y\" to continue, or press anything else to end:" - stopping_msg = "Stopping..." + input_msg = "Welcome to PYSlots! Type in the number of the game you want to play!\n1) Original (Originated in v1.1.1)\n2) Manual Gamble (Originated in 1.3.0)\n3) Other Games\n4) Quit" divider_msg = "==========" - slots_msg = "Slot Numbers" - - print(divider_msg) - print(slots_msg) - print(divider_msg) - - while current_money > 0: - if times_looped >= 1: - print(user_input) - print(divider_msg) - user_ans = input() - - if user_ans == "y" or user_ans == "Y" or user_ans == "yes" or user_ans == "Yes": - print(divider_msg) - print(slots_msg) - print(divider_msg) - else: - print(stopping_msg) - print(divider_msg) - break - - slot_one = rand.randint(1, 6) - print(slot_one) - - slot_two = rand.randint(1, 6) - print(slot_two) - - slot_three = rand.randint(1, 6) - print(slot_three) - - print(divider_msg) - money_gambled = rand.randrange(100, 500, 1) - - if slot_one == slot_two == slot_three: - current_money += round(money_gambled, None) - print("$" + str(current_money) + ".00") - print(divider_msg) - elif slot_one == slot_two or slot_two == slot_three: - current_money += round(money_gambled / 4, None) - print("$" + str(current_money) + ".00") - print(divider_msg) - elif slot_one == slot_three: - current_money += round(money_gambled / 16, None) - print("$" + str(current_money) + ".00") - print(divider_msg) - elif slot_one != slot_two != slot_three: - current_money -= money_gambled - if current_money < 0: - current_money = 0 - - print("$" + str(current_money) + ".00") - - print(divider_msg) - print(stopping_msg) - print(divider_msg) - - break - elif current_money == 0: - print("$" + str(current_money) + ".00") - print(divider_msg) - print(stopping_msg) - print(divider_msg) - break - else: - print("$" + str(current_money) + ".00") - print(divider_msg) - times_looped += 1 + print(input_msg + "\n" + divider_msg) # + + user_game_selection = input() + if user_game_selection == "1": # If the user inputs the number 1, start the "original game" + og_gm.og_game() # Start the "original game" + elif user_game_selection == "2": # If the user inputs the number 2, start the "user input game" + user_input_gm.user_input_game() # Start the "user input game" + elif user_game_selection == "3": # If the user inputs the number 3, go to the "other games" menu + other_games_menu() # Open the "other games menu" + elif user_game_selection == "4": # If the user inputs the number 4, exit the programme + print("Sorry to see you go! Hope you come visit soon!") # Print the apology message + sys.exit(0) # Exit the programme + else: + print("Error 404: Game Not Found") # Uh oh, they inputted a number that is not in the range from 1 to 4... That's a lot of damage... + sys.exit(404) # Exit with the 404 Code (lol) try: - if args.help: - sys.exit(0) - except AttributeError: - pass + if args.help: # If the argument given is --help, run the below code + sys.exit(0) # Exit programme + except AttributeError: # A wild Attribute Error appears... + pass # Ash Ketchum ran from the wild Attribute Error... if __name__ == "__main__": main() \ No newline at end of file diff --git a/PYSlots/args.py b/PYSlots/args.py index 9cd1a2a..038f638 100644 --- a/PYSlots/args.py +++ b/PYSlots/args.py @@ -2,24 +2,24 @@ def parse_args(): parser = argparse.ArgumentParser( - description="PYSlots\n" "https://github.com/Lukas-Batema/pyslots" + description="PYSlots\n" "https://github.com/Lukas-Batema/pyslots" # Set the description ) parser.add_argument( - "--mcrefvers", - action="store_true", - help="Use the \"Don't look directly at the bugs\" version (Obviously a Minceraft reference...)", + "--mcrefvers", # Set the argument text + action="store_true", # Store the action + help="Use the \"Don't look directly at the bugs\" version (Obviously a Minceraft reference...)", # Set the help message ) parser.add_argument( - "--update", - "-u", - action="store_true", - help="Update to the latest stable version", + "--update", # Set the argument text + "-u", # Set the shorthand argument text + action="store_true", # Store the action + help="Update to the latest stable version", # Set the help message ) parser.add_argument( - "--version", - "-v", - action="store_true", - help="Print the PYSlots version", + "--version", # Set the argument text + "-v", # Set the shorthand argument text + action="store_true", # Store the action + help="Print the PYSlots version", # Set the help message ) - return parser.parse_args() \ No newline at end of file + return parser.parse_args() # Return the arguments \ No newline at end of file diff --git a/PYSlots/original_gamemode.py b/PYSlots/original_gamemode.py new file mode 100644 index 0000000..609e20d --- /dev/null +++ b/PYSlots/original_gamemode.py @@ -0,0 +1,103 @@ +import random as rand +import sys, os + +# This file will not be changed, due to it beong the original gamemode +def og_game(): + """ + og_game(): + - Description: + The original gamemode (the money gambled is **NOT** inputted) game function + - Arguments: + None + """ + + current_money = 1000 # Set the current amount of money to 1000 coins + times_looped = 0 # Set the times the programme looped 0 + user_input_msg = "Press \"Y\" to continue, or press anything else to end:" # Set the message the user gets instructed to do at the end of each loop + stopping_msg = "Stopping..." # Set the stopping message + divider_msg = "==========" # Set the divider message + slots_msg = "Slot Numbers" # Set the title message + + print(divider_msg) # Print the divider message before the loop to divide the game selected from the selection menu + + while ( + current_money > 0 # Loop while the user is not out of coins + ): + slot_one = rand.randint(1, 6) # Set the first slot to a random integer ranging from 1 to 6 + print(slot_one) # Print the first slot number + + slot_two = rand.randint(1, 6) # Set the second slot to a random integer ranging from 1 to 6 + print(slot_two) # Print the second slot number + + slot_three = rand.randint(1, 6) # Set the third slot to a random integer ranging from 1 to 6 + print(slot_three) # Print the third slot number + + print(divider_msg) # Print the divider message + money_gambled = rand.randrange(100, 500, 1) # Set the amount of coins gambled to an integer ranging from 100 to 500 coins + + if ( + slot_one == slot_two == slot_three # Run if all slot numbers are the exact same + ): + current_money += round(money_gambled, None) # Add the coins gambled to the current coins the user has + print("$" + str(current_money) + ".00") # Print the current coins from the previous line onto console + print(divider_msg) # Print the divider message + elif ( + slot_one == slot_two or slot_two == slot_three + ): + current_money += round(money_gambled / 4, None) + print("$" + str(current_money) + ".00") + print(divider_msg) # Print the divider message + elif ( + slot_one == slot_three + ): + current_money += round(money_gambled / 16, None) + print("$" + str(current_money) + ".00") + print(divider_msg) # Print the divider message + elif ( + slot_one != slot_two != slot_three # Run if none of the slot numbers are the same + ): + current_money -= money_gambled # Subtract the current coin amount since the user lost this game + if ( + current_money < 0 # Run if the user goes negative or hits exactly zero coins + ): + current_money = 0 # Set the user's coin amount to zero + + print("$" + str(current_money) + ".00") # Print "$0.00" + + print(divider_msg) # Print the divider message + print(stopping_msg) # Print the stopping message + print(divider_msg) # Print the divider message + + sys.exit(0) # rip + elif ( + current_money == 0 # Run if the user is broke + ): + print("$" + str(current_money) + ".00") + + print(divider_msg) # Print the divider message + print(stopping_msg) # Print the stopping message + print(divider_msg) # Print the divider message + + sys.exit(0) + else: + print("$" + str(current_money) + ".00") + print(divider_msg) # Print the divider message + + print(user_input_msg) # Print the instruction message + print(divider_msg) # Print the divider message + user_ans = input() # Have the user input "y" (or anything else) + + if ( + user_ans == "y" + or user_ans == "Y" + or user_ans == "yes" + or user_ans == "Yes" # Run if the user confirms they want to play another round, otherwise exit the programme + ): + print(divider_msg) # Print the divider message + print(slots_msg) # Print the title message + print(divider_msg) # Print the divider message + else: + print(divider_msg) # Print the divider message + print(stopping_msg) # Print the stopping message + print(divider_msg) # Print the divider message + sys.exit(0) # rip \ No newline at end of file diff --git a/PYSlots/other_games.py b/PYSlots/other_games.py new file mode 100644 index 0000000..bd3e444 --- /dev/null +++ b/PYSlots/other_games.py @@ -0,0 +1,6 @@ +import sys, os + +def menu(): + divider_msg = "==========" # Set the divider message + print(divider_msg + "\nSorry, this page is not ready yet, check back in a later update!") # Print the apology message + sys.exit(0) # rip \ No newline at end of file diff --git a/PYSlots/update.py b/PYSlots/update.py index 30d8d49..98976b2 100644 --- a/PYSlots/update.py +++ b/PYSlots/update.py @@ -4,12 +4,9 @@ args = parse_args() def update(): - try: - # print("Checking for newer versions, then updating if any...") - url = f"https://raw.githubusercontent.com/Lukas-Batema/pyslots/{'1.2.0' if args.mcrefvers else 'master'}/PYSlots/resources/pyslots_ids.json" - urllib.request.urlretrieve( - url, os.path.dirname(__file__) + "/resources/pyslots.json" - ) - sys.exit(0) - except: - pass \ No newline at end of file + print("Checking for newer versions, then updating if any...") + url = f"https://raw.githubusercontent.com/Lukas-Batema/pyslots/{'testpypi' if args.mcrefvers else 'pypi'}/PYSlots/resources/pyslots_ids.json" + urllib.request.urlretrieve( + url, os.path.dirname(__file__) + "/resources/pyslots_ids.json" + ) + sys.exit(0) \ No newline at end of file diff --git a/PYSlots/user_input_gamemode.py b/PYSlots/user_input_gamemode.py new file mode 100644 index 0000000..79a2e2f --- /dev/null +++ b/PYSlots/user_input_gamemode.py @@ -0,0 +1,121 @@ +import random as rand +import sys, os + +def user_input_game(): + """ + user_input_game(): + - Description: + The user input (the money gambled is inputted) game function + - Arguments: + None + """ + + current_money = 1000 + user_input_msg = "Press \"Y\" to continue, or press anything else to end:" + user_money_input_msg = "Type the money amount you want to gamble (100-1000):" + stopping_msg = "Stopping..." + divider_msg = "==========" + slots_msg = "Slot Numbers" + + print(divider_msg) + + while current_money > 0: + print(user_money_input_msg) + print(divider_msg) + + money_gambled = input() + + print(divider_msg) + + try: + if ( + int(money_gambled) > current_money + ): + print("You do not have enough money to gamble that amount! Please try again!") + print(divider_msg) + elif ( + int(money_gambled) < 100 + and current_money >= 100 + ): + print("Please gamble an amount that is 100+.") + print(divider_msg) + elif ( + int(money_gambled) >= 100 + and current_money > 100 + ): + print(slots_msg) + print(divider_msg) + + slot_one = rand.randint(1, 6) + print(slot_one) + + slot_two = rand.randint(1, 6) + print(slot_two) + + slot_three = rand.randint(1, 6) + print(slot_three) + + if ( + slot_one == slot_two == slot_three + ): + current_money += round(int(money_gambled), None) + print("$" + str(current_money) + ".00") + print(divider_msg) + elif ( + slot_one == slot_two or slot_two == slot_three + ): + current_money += round(int(money_gambled) / 4, None) + print("$" + str(current_money) + ".00") + print(divider_msg) + elif ( + slot_one == slot_three + ): + current_money += round(int(money_gambled) / 16, None) + print("$" + str(current_money) + ".00") + print(divider_msg) + elif ( + slot_one != slot_two != slot_three + ): + current_money -= int(money_gambled) + if current_money < 0: + current_money = 0 + + print("$" + str(current_money) + ".00") + + print(divider_msg) + print(stopping_msg) + print(divider_msg) + + sys.exit(0) + elif current_money == 0: + print("$" + str(current_money) + ".00") + + print(divider_msg) + print(stopping_msg) + print(divider_msg) + + sys.exit(0) + else: + print(divider_msg) + print("$" + str(current_money) + ".00") + print(divider_msg) + + print(user_input_msg) + print(divider_msg) + + user_ans = input() + + if ( + user_ans == "y" + or user_ans == "Y" + or user_ans == "yes" + or user_ans == "Yes" + ): + print(divider_msg) + else: + print(stopping_msg) + print(divider_msg) + sys.exit(0) + except ValueError: + print("Please type only a number between 100 and 1000 to proceed. Please try again!") + print(divider_msg) \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..da83f00 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,15 @@ +# Security Policy + +## Supported Versions + +Check the chart below to see what versions still support security updates and vunerabilities reporting. :x: means it is not supported, :warning: means it is currently supprted but may soon be discontinued from updates and accepted vunerablities, :hammer: means the version has not released yet, or is still in development, and :white_check_mark: means that is still supported. +___ +| Version | Supported | +| ----------- | ------------------ | +| 1.1.1 | :x: | +| 1.2.0 | :white_check_mark: | +| 1.3.0 | :hammer: | + +## Reporting a Vulnerability + +Go and create a new issue, and select the "Security Vunerablity" template. After submitting an issue, we will respond as soon as possible once you create the issue, so you know we are working on it, but until you get a reply from a non-bot user (a human user without a bot tag), just assume we havent seen it yet. Once we reply, please give us up to TWO weeks to validate and decipher the issue. We will then let you know more details on what we found or if we will be fixing it. If we do fix it, please give us at least THREE weeks to fix it. We will respond and close the issue, with a release tag reference and any other info we need to give about the update. Thank you for helping PYSlots become a safer place! diff --git a/setup.py b/setup.py index cc990ec..e3304fc 100644 --- a/setup.py +++ b/setup.py @@ -3,29 +3,4 @@ import setuptools import PYSlots.__init__ as __init__ -setuptools.setup( - name="PYSlots", - version=__init__.VERSION, - author="Lukas-Batema", - author_email="lukasbatema@gmail.com", - description="A fun terminal Python slots game!", - long_description=open(join(dirname(__file__), "README.md")).read(), - long_description_content_type="text/markdown", - url="https://github.com/Lukas-Batema/pyslots", - project_urls={ - "Bug Tracker": "https://github.com/Lukas-Batema/pyslots/issues", - }, - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], - packages=["PYSlots"], - keywords=["python", "py", "slots", "pyslots"], - python_requires=">=3.6", - entry_points={ - "console_scripts": [ - "pyslots=PYSlots.__main__:main", - ] - }, -) +setuptools.setup(name="PYSlots", version=__init__.VERSION, author="Lukas-Batema", author_email="lukasbatema@gmail.com", description="A fun terminal Python slots game!", long_description=open(join(dirname(__file__), "README.md")).read(), long_description_content_type="text/markdown", url="https://github.com/Lukas-Batema/pyslots", project_urls={"Bug Tracker": "https://github.com/Lukas-Batema/pyslots/issues",}, classifiers=["Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",], packages=["PYSlots"], keywords=["python", "py", "slots", "pyslots"], python_requires=">=3.6", entry_points={"console_scripts": ["pyslots=PYSlots.__main__:main",]},) \ No newline at end of file