File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1+ __version__ = '0.4.0'
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
22
3+ # Get __version__
4+ with open ('./randomuser/version.py' ) as f :
5+ exec (f .read ())
6+
37setup (name = 'randomuser' ,
4- version = '0.3.1' ,
5- description = 'Python class for generating random user data using https://randomuser.me API' ,
6- url = 'http://connordelacruz.com/python-randomuser/' ,
7- download_url = 'https://github.com/connordelacruz/python-randomuser/archive/0.3.1. tar.gz' ,
8- author = 'Connor de la Cruz' ,
9- author_email = 'connor.c.delacruz@gmail.com' ,
10- license = 'MIT' ,
11- packages = find_packages (),
12- zip_safe = False )
8+ version = __version__ ,
9+ description = 'Python class for generating random user data using https://randomuser.me API' ,
10+ url = 'http://connordelacruz.com/python-randomuser/' ,
11+ download_url = 'https://github.com/connordelacruz/python-randomuser/archive/{}. tar.gz' . format ( __version__ ) ,
12+ author = 'Connor de la Cruz' ,
13+ author_email = 'connor.c.delacruz@gmail.com' ,
14+ license = 'MIT' ,
15+ packages = find_packages (),
16+ zip_safe = False )
You canβt perform that action at this time.
0 commit comments