Skip to content

Commit

Permalink
fix #1000: setup.py: suppress module name: module references __file__…
Browse files Browse the repository at this point in the history
…warning
  • Loading branch information
giampaolo committed Mar 25, 2017
1 parent 2ab6417 commit bd4ed4d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
*Bug tracker at https://github.com/giampaolo/psutil/issues*

*XXXX-XX-XX*

5.2.2
=====

**Bug fixes**

- 1000_: fixed some setup.py warnings.

*2017-03-24*

5.2.1
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ pre-release:
assert ver in history, '%r not in HISTORY.rst' % ver; \
assert 'XXXX' not in history; \
"
${MAKE} setup-dev-env # mainly to update sphinx and install twine
${MAKE} win-download-exes
$(PYTHON) setup.py sdist

Expand Down
2 changes: 1 addition & 1 deletion psutil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
]
__all__.extend(_psplatform.__extra__all__)
__author__ = "Giampaolo Rodola'"
__version__ = "5.2.1"
__version__ = "5.2.2"
version_info = tuple([int(num) for num in __version__.split('.')])
AF_LINK = _psplatform.AF_LINK
POWER_TIME_UNLIMITED = _common.POWER_TIME_UNLIMITED
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ def main():
ext_modules=extensions,
test_suite="psutil.tests.runner.get_suite",
tests_require=['ipaddress', 'mock', 'unittest2'],
zip_safe=False, # http://stackoverflow.com/questions/19548957
# see: python setup.py register --list-classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down

0 comments on commit bd4ed4d

Please sign in to comment.