Skip to content

Commit

Permalink
rename main module
Browse files Browse the repository at this point in the history
  • Loading branch information
YegorDB committed Aug 11, 2018
1 parent 0ffc148 commit ebfb31d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
*__pycache__
*.pytest_cache
*.pytest_cache
dist/
MANIFEST
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Install

```
pip install СTHPoker
pip install CTHPoker
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion finder.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ static PyMethodDef methods[] = {

static struct PyModuleDef definition = {
PyModuleDef_HEAD_INIT,
"CTHPoker",
"cthpoker",
"Texas Hold'em poker combination finder.",
-1,
methods
Expand Down
11 changes: 2 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,10 @@
from distutils.core import setup, Extension


with open("README.md", "r") as f:
long_description = f.read()
f.close()


setup(
name='CTHPoker',
version='1.0.0',
version='1.0.2',
description="Texas Hold'em Poker combination finder tool",
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/YegorDB/CTHPoker',
author='Yegor Bitensky',
classifiers=[
Expand All @@ -38,5 +31,5 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C",
],
ext_modules=[Extension('CTHPoker', ['finder.c'])]
ext_modules=[Extension('cthpoker', ['finder.c'])]
)

0 comments on commit ebfb31d

Please sign in to comment.