126 Commits

Author SHA1 Message Date
Timo Furrer
1ff577e9a5
Merge pull request #65 from kennethreitz/add-packaging-guide
Add a link to the official Python Packaging Guide. Closes #40
2019-02-14 20:09:57 +01:00
Timo Furrer
7cca62f7e9
Add a link to the official Python Packaging Guide. Closes #40 2019-02-14 18:27:13 +01:00
Kenneth Reitz
3e54227206
Merge pull request #62 from devxpy/patch-2
Use a valid python package name instead of just NAME to find the __version__.py file
2019-02-13 08:39:01 -05:00
Kenneth Reitz
a0e82fa640
Merge pull request #64 from kennethreitz/revert-57-version-module-attribute
Revert "Follow PEP 396: expose __version__ string as a module-level attribute"
2019-02-13 08:33:10 -05:00
Kenneth Reitz
3590e74548
Revert "Follow PEP 396: expose __version__ string as a module-level attribute" 2019-02-13 08:33:00 -05:00
Kenneth Reitz
51938e5089
Merge pull request #57 from florisla/version-module-attribute
Follow PEP 396: expose __version__ string as a module-level attribute
2019-02-13 08:32:33 -05:00
Floris Lambrechts
cb6ec31e33 Rename __version__.py to _version.py
This avoids a name collision with mypackage.__version__
(the string).

In addition, the single underscore shows it's a 'private' module
that has no special meaning to the Python interpreter.
2018-12-16 21:39:00 +01:00
Dev Aggarwal
c98aca0c67
Update setup.py 2018-12-15 19:08:16 +05:30
Dev Aggarwal
38212d4b91
Update setup.py 2018-12-13 21:00:57 +05:30
Kenneth Reitz
1f744ec878
Update README.md 2018-09-17 08:08:05 -04:00
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