File tree Expand file tree Collapse file tree 3 files changed +3
-23
lines changed Expand file tree Collapse file tree 3 files changed +3
-23
lines changed Original file line number Diff line number Diff line change 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
-
8
- __status__ = "Development"
Original file line number Diff line number Diff line change 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
14
2
15
3
16
4
# Getting long description
@@ -22,15 +10,15 @@ def get_long_description():
22
10
23
11
setup_kwargs = {
24
12
'name' : 'pyroar' ,
25
- 'version' : get_version () ,
13
+ 'version' : '1.0.0' ,
26
14
'description' : 'Python client for PokeAPI' ,
27
15
'long_description' : get_long_description (),
28
16
'author' : 'Daniel Perez-Gil' ,
29
17
'author_email' :
'[email protected] ' ,
30
18
'url' : 'https://github.com/dapregi/pyroar' ,
31
19
'packages' : ['pyroar' ],
32
20
'package_dir' : {'pyroar' : 'pyroar' },
33
- 'install_requires ' : ['pyyaml' ]
21
+ 'requires ' : ['pyyaml' ]
34
22
}
35
23
36
24
setup (** setup_kwargs )
You can’t perform that action at this time.
0 commit comments