Skip to content

Commit af63fc4

Browse files
committed
files prepared for pypi uploading
1 parent 6ad3bb3 commit af63fc4

File tree

3 files changed

+3
-23
lines changed

3 files changed

+3
-23
lines changed

pyroar/__init__.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +0,0 @@
1-
__author__ = "Daniel Perez-Gil"
2-
__copyright__ = "Copyright 2016, Daniel Perez-Gil"
3-
__credits__ = [""]
4-
__license__ = "GPL-3+"
5-
__version__ = "0.1"
6-
__maintainer__ = "Daniel Perez-Gil"
7-
__email__ = "[email protected]"
8-
__status__ = "Development"

setup.cfg

Whitespace-only changes.

setup.py

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
from distutils.core import setup
2-
3-
4-
# Getting client version
5-
def get_version():
6-
version = 'Undefined'
7-
init_fhand = open('pyroar/__init__.py', 'r')
8-
for line in init_fhand:
9-
if line.startswith('__version__'):
10-
exec(line.strip())
11-
break
12-
init_fhand.close()
13-
return version
1+
from setuptools import setup
142

153

164
# Getting long description
@@ -22,15 +10,15 @@ def get_long_description():
2210

2311
setup_kwargs = {
2412
'name': 'pyroar',
25-
'version': get_version(),
13+
'version': '1.0.0',
2614
'description': 'Python client for PokeAPI',
2715
'long_description': get_long_description(),
2816
'author': 'Daniel Perez-Gil',
2917
'author_email': '[email protected]',
3018
'url': 'https://github.com/dapregi/pyroar',
3119
'packages': ['pyroar'],
3220
'package_dir': {'pyroar': 'pyroar'},
33-
'install_requires': ['pyyaml']
21+
'requires': ['pyyaml']
3422
}
3523

3624
setup(**setup_kwargs)

0 commit comments

Comments
 (0)