116 Commits

Author SHA1 Message Date
Floris Lambrechts
aa60dc88c2 Make __version__ a module-level attribute
By moving __version__ to __init__.py, it becomes an attribute of the
module.  This is recommended in PEP 396 and a common practice in many
contemporary packages.

This enables the following:

>>> import mypackage
>>> print(mypackage.__version__)
'5.2.0'
2018-07-26 14:58:28 +02:00
Kenneth Reitz
8aa151e46e
Merge pull request #41 from MasterOdin/patch-1
Fix missing comma
2018-07-03 10:24:25 -04:00
Kenneth Reitz
818350c6bb
Merge pull request #47 from devxpy/patch-1
Add extras_require to setup()
2018-07-03 10:24:11 -04:00
Kenneth Reitz
57f73d5894
Merge pull request #50 from john-g-g/patch-1
Add missing comma to setup kwargs
2018-07-03 10:23:56 -04:00
Kenneth Reitz
5d3e5d59bb
Merge pull request #51 from xgdgsc/patch-1
allow no readme.md and comma
2018-07-03 10:23:47 -04:00
Kenneth Reitz
c511902ad0
Merge pull request #55 from orisano/patch-2
chore: PyPi to PyPI
2018-07-03 10:23:20 -04:00
Nao YONASHIRO
ef4b9bc18f
chore: PyPi to PyPI 2018-07-03 12:28:12 +09:00
xgdgsc
c6625ffb63
long = short 2018-06-07 22:29:37 +08:00
xgdgsc
81a9a65949
allow no readme.md and comma 2018-06-07 22:27:37 +08:00
John G G
308dd1d4f3
Add missing comma to setup kwargs 2018-05-30 10:10:09 -04:00
Dev Aggarwal
a0f9ab13c6
Update setup.py 2018-05-17 19:22:52 +05:30
Dev Aggarwal
5b1185196e
Update setup.py 2018-05-17 19:22:38 +05:30
Dev Aggarwal
703fe8d12d
Update setup.py 2018-05-17 19:21:46 +05:30
Dev Aggarwal
f29aee87c7
Update setup.py
Fix comma 
Add an extras_require field
2018-05-17 19:18:01 +05:30
Matthew Peveler
1f310783d6
Fix missing comma 2018-05-04 17:32:50 -04:00
Kenneth Reitz
71dc482c94
Update MANIFEST.in 2018-05-04 09:33:54 -04:00
Kenneth Reitz
59cfa99b99
Update setup.py 2018-05-04 09:33:44 -04:00
Kenneth Reitz
83384c6ba9
Update and rename README.rst to README.md 2018-05-04 09:32:33 -04:00
Kenneth Reitz
41b241cff6
Update setup.py 2018-02-26 09:20:26 -05:00
Kenneth Reitz
d9f406e98d
Update README.rst 2018-02-26 08:58:55 -05:00
Kenneth Reitz
72a644b564
Update setup.py 2018-02-26 08:57:58 -05:00
Kenneth Reitz
e4e6a84196
Update setup.py 2017-12-11 07:15:54 -05:00
Kenneth Reitz
e0260721b2
Merge pull request #31 from funkybob/patch-1
[Fixes #30] Add a VERSION tuple for comparison
2017-12-11 07:13:04 -05:00
Kenneth Reitz
c8f72982d7
Merge pull request #33 from finiteautomata/add_gitignore
Add Python .gitignore file.
2017-12-11 07:10:56 -05:00
Juan Manuel Perez
11892b1694 Add Python .gitignore file. 2017-11-18 11:03:05 -03:00
Curtis Maloney
f52a6a4f47
[Fixes #30] Add a VERSION tuple for comparison
Generate the __version__ string from the version tuple.

Having a tuple like this makes it easy for other packages to compare versions, e.g.:

if VERSION > (3,):

if VERSION < (1, 8):
2017-11-02 11:43:20 +11:00
Kenneth Reitz
4b4eb9d46a Update README.rst 2017-09-20 12:19:10 -04:00
Kenneth Reitz
aea39ea122 Update setup.py 2017-09-20 12:18:51 -04:00
Kenneth Reitz
1dcf4826c0 Update setup.py 2017-09-07 16:07:57 -04:00
Kenneth Reitz
9f3571a811 Merge pull request #27 from sieben/oserror
Use OSError instead of FileNotFoundError to work on both py2 and py3
2017-09-07 10:18:12 -04:00
Rémy Léone
f31f81c1b4 Use OSError instead of FileNotFoundError to work on both py2 and py3 2017-09-07 10:34:19 +02:00
Kenneth Reitz
1a9be22205 Update README.rst 2017-09-05 12:53:15 -04:00
Kenneth Reitz
0385a81525 Update README.rst 2017-09-05 12:52:48 -04:00
Kenneth Reitz
d7511469f0 Update setup.py 2017-09-04 15:22:47 -04:00
Kenneth Reitz
88c5eaec57 change to MIT 2017-09-04 15:22:30 -04:00
Kenneth Reitz
f20652c723 Merge pull request #22 from lethargilistic/master
Giving supported platforms/versions a user interface
2017-09-04 12:05:29 -04:00
lethargilistic
9868e34ef0 Reminder that there's a license trove 2017-09-03 20:43:50 -04:00
Kenneth Reitz
028b613c2f Update README.rst 2017-08-31 11:08:34 -04:00
Kenneth Reitz
e10bd98b01 Merge pull request #18 from l2dy/license
Add license to README
2017-08-31 11:01:42 -04:00
Zero King
1abcac8c48 Add license to README 2017-08-31 12:03:41 +00:00
Kenneth Reitz
207aed90ec Merge pull request #17 from methane/patch-1
Use io.open instead of codecs.open
2017-08-30 21:08:29 -04:00
INADA Naoki
9825a41060 Use io.open instead of codecs.open 2017-08-31 09:21:20 +09:00
Kenneth Reitz
bf2d5e2319 Merge pull request #15 from soxofaan/master
use os.path.join everywhere
2017-08-30 13:31:31 -04:00
Kenneth Reitz
4c2c793c98 Merge pull request #16 from matan129/patch-1
Fix MANIFEST.in typo
2017-08-30 13:30:58 -04:00
Matan Rosenberg
71361bce83 Fix MANIFEST.in typo 2017-08-30 20:26:49 +03:00
Stefaan Lippens
5588342001 use os.path.join everywhere 2017-08-30 18:13:12 +02:00
Kenneth Reitz
0f8b5df808 Update setup.py 2017-08-29 15:28:26 -04:00
Kenneth Reitz
3536838613 Merge pull request #12 from zed/patch-1
Add link to a related project in README.rst
2017-08-29 15:00:58 -04:00
zed
6514aa3d5c Add link to a related project in README.rst
Add link to Cookiecutter PyPackage (create Python package from a template as an alternative to the copy-paste).
2017-08-29 21:52:17 +03:00
Kenneth Reitz
c5a82dc367 Update README.rst 2017-08-29 02:43:57 -04:00