Skip to content

Commit 23efc93

Browse files
committed
Add to Pypi index
1 parent d7a0e85 commit 23efc93

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# ASCII RACER
2+
3+
[![PyPI version](https://badge.fury.io/py/asciiracer.svg)](https://badge.fury.io/py/asciiracer)
4+
25
A racing game that runs in Terminal. 100% Python
36

47
<p align="center"><img src="https://raw.githubusercontent.com/UpGado/ascii_racer/master/docs/gameplay.gif" alt="ascii-racer"/></p>
@@ -22,12 +25,16 @@ Only dependency is `curses` module. Depending on your platform:
2225
- Linux or Mac: you're all set, as it will be installed by default.
2326
- Windows: you might have to run the game in Cygwin or a Windows Subsytem for Linux (WSL). Or you can try running `pip install windows-curses`
2427

25-
Clone the repository
28+
Install using pip:
29+
```bash
30+
pip3 install asciiracer
31+
```
32+
or clone the repository and install manually:
2633

2734
```bash
2835
$ git clone https://github.com/UpGado/ascii_racer.git
36+
$ python3 setup.py install
2937
```
30-
or download it as a .zip file.
3138

3239
### Start Game
3340
To start, run `python3 -m asciiracer` to begin the game

requirements.txt

Whitespace-only changes.

setup.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import setuptools
2+
import pypandoc
3+
4+
with open("README.md", "r") as fh:
5+
long_description = fh.read()
6+
7+
setuptools.setup(
8+
name='asciiracer',
9+
version='0.1',
10+
author='Ahmed Gado',
11+
author_email='ahmedehabg@gmail.com',
12+
description='A racing game that runs in terminal',
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
15+
url='https://github.com/UpGado/ascii_racer',
16+
packages=setuptools.find_packages(),
17+
classifiers=[
18+
"Programming Language :: Python :: 3",
19+
"License :: OSI Approved :: MIT License",
20+
"Operating System :: OS Independent",
21+
]
22+
)

0 commit comments

Comments
 (0)