easydev 0.13.1__tar.gz → 0.13.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. easydev-0.13.2/COPYING +33 -0
  2. {easydev-0.13.1 → easydev-0.13.2}/PKG-INFO +7 -6
  3. {easydev-0.13.1 → easydev-0.13.2}/README.rst +5 -1
  4. {easydev-0.13.1 → easydev-0.13.2}/easydev/config_tools.py +1 -5
  5. {easydev-0.13.1 → easydev-0.13.2}/easydev/platform.py +0 -1
  6. {easydev-0.13.1 → easydev-0.13.2}/easydev/progressbar.py +0 -1
  7. {easydev-0.13.1 → easydev-0.13.2}/easydev/url.py +0 -1
  8. {easydev-0.13.1 → easydev-0.13.2}/pyproject.toml +1 -2
  9. easydev-0.13.1/setup.py +0 -42
  10. {easydev-0.13.1 → easydev-0.13.2}/easydev/__init__.py +0 -0
  11. {easydev-0.13.1 → easydev-0.13.2}/easydev/appdirs.py +0 -0
  12. {easydev-0.13.1 → easydev-0.13.2}/easydev/browser.py +0 -0
  13. {easydev-0.13.1 → easydev-0.13.2}/easydev/chunks.py +0 -0
  14. {easydev-0.13.1 → easydev-0.13.2}/easydev/codecs.py +0 -0
  15. {easydev-0.13.1 → easydev-0.13.2}/easydev/console.py +0 -0
  16. {easydev-0.13.1 → easydev-0.13.2}/easydev/copybutton.py +0 -0
  17. {easydev-0.13.1 → easydev-0.13.2}/easydev/decorators.py +0 -0
  18. {easydev-0.13.1 → easydev-0.13.2}/easydev/dependencies.py +0 -0
  19. {easydev-0.13.1 → easydev-0.13.2}/easydev/doc.py +0 -0
  20. {easydev-0.13.1 → easydev-0.13.2}/easydev/easytest.py +0 -0
  21. {easydev-0.13.1 → easydev-0.13.2}/easydev/logging_tools.py +0 -0
  22. {easydev-0.13.1 → easydev-0.13.2}/easydev/md5tools.py +0 -0
  23. {easydev-0.13.1 → easydev-0.13.2}/easydev/misc.py +0 -0
  24. {easydev-0.13.1 → easydev-0.13.2}/easydev/multicore.py +0 -0
  25. {easydev-0.13.1 → easydev-0.13.2}/easydev/options.py +0 -0
  26. {easydev-0.13.1 → easydev-0.13.2}/easydev/paths.py +0 -0
  27. {easydev-0.13.1 → easydev-0.13.2}/easydev/profiler.py +0 -0
  28. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/__init__.py +0 -0
  29. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/copybutton.js +0 -0
  30. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/google_footer.html +0 -0
  31. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/google_head.html +0 -0
  32. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/index.html +0 -0
  33. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/indexsidebar.html +0 -0
  34. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/layout.html +0 -0
  35. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/static/bgfooter.png +0 -0
  36. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/static/bgtop.png +0 -0
  37. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/static/software.css_t +0 -0
  38. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/static/warning.jpg +0 -0
  39. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/cno/theme.conf +0 -0
  40. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/google_footer.html +0 -0
  41. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/google_head.html +0 -0
  42. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/index.html +0 -0
  43. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/indexsidebar.html +0 -0
  44. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/layout.html +0 -0
  45. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/static/bgfooter.png +0 -0
  46. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/static/bgtop.png +0 -0
  47. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/static/software.css_t +0 -0
  48. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/static/warning.jpg +0 -0
  49. {easydev-0.13.1 → easydev-0.13.2}/easydev/share/themes/standard/theme.conf +0 -0
  50. {easydev-0.13.1 → easydev-0.13.2}/easydev/sphinx_themes.py +0 -0
  51. {easydev-0.13.1 → easydev-0.13.2}/easydev/timer.py +0 -0
  52. {easydev-0.13.1 → easydev-0.13.2}/easydev/tools.py +0 -0
easydev-0.13.2/COPYING ADDED
@@ -0,0 +1,33 @@
1
+ New BSD License
2
+
3
+ Copyright (c) Thomas Cokelaer
4
+ All rights reserved.
5
+
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ a. Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
12
+ b. Redistributions in binary form must reproduce the above copyright
13
+ notice, this list of conditions and the following disclaimer in the
14
+ documentation and/or other materials provided with the distribution.
15
+ c. Neither the name of the Scikit-learn Developers nor the names of
16
+ its contributors may be used to endorse or promote products
17
+ derived from this software without specific prior written
18
+ permission.
19
+
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR
25
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
31
+ DAMAGE.
32
+
33
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: easydev
3
- Version: 0.13.1
3
+ Version: 0.13.2
4
4
  Summary: Commn utilities to ease development of Python packages
5
5
  License: BSD-3-Clause
6
6
  Keywords: config,decorators,development
@@ -19,10 +19,7 @@ Classifier: Programming Language :: Python :: 3.8
19
19
  Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
- Classifier: Programming Language :: Python :: 3.10
23
- Classifier: Programming Language :: Python :: 3.11
24
- Classifier: Programming Language :: Python :: 3.8
25
- Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.12
26
23
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
27
24
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
28
25
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -53,7 +50,7 @@ easydev
53
50
  :contributions: Please join https://github.com/cokelaer/easydev
54
51
  :source: Please use https://github.com/cokelaer/easydev
55
52
  :issues: Please use https://github.com/cokelaer/easydev/issues
56
- :Python version supported: 3.7, 3.8, 3.9, 3.10
53
+ :Python version supported: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12
57
54
 
58
55
 
59
56
  The `easydev <http://pypi.python.org/pypi/easydev/>`_ package
@@ -70,12 +67,16 @@ packages (e.g., http://pypi.python.org/pypi/colormap) and is stable.
70
67
  `GDSCTools <https://sequana.readthedocs.io>`_ to give a few
71
68
  examples.
72
69
 
70
+
71
+
73
72
  Changelog
74
73
  ~~~~~~~~~
75
74
 
76
75
  ========= ==========================================================================
77
76
  Version Description
78
77
  ========= ==========================================================================
78
+ 0.13.2 * replace mock with unittest.mock (fixes
79
+ https://github.com/cokelaer/easydev/issues/20)
79
80
  0.13.1 * fix get_dependencies
80
81
  0.13.0 * fix requirements (line_profiler) and CI
81
82
  0.12.2 * For developers: move to pyprojet. add precomit
@@ -18,7 +18,7 @@ easydev
18
18
  :contributions: Please join https://github.com/cokelaer/easydev
19
19
  :source: Please use https://github.com/cokelaer/easydev
20
20
  :issues: Please use https://github.com/cokelaer/easydev/issues
21
- :Python version supported: 3.7, 3.8, 3.9, 3.10
21
+ :Python version supported: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12
22
22
 
23
23
 
24
24
  The `easydev <http://pypi.python.org/pypi/easydev/>`_ package
@@ -35,12 +35,16 @@ packages (e.g., http://pypi.python.org/pypi/colormap) and is stable.
35
35
  `GDSCTools <https://sequana.readthedocs.io>`_ to give a few
36
36
  examples.
37
37
 
38
+
39
+
38
40
  Changelog
39
41
  ~~~~~~~~~
40
42
 
41
43
  ========= ==========================================================================
42
44
  Version Description
43
45
  ========= ==========================================================================
46
+ 0.13.2 * replace mock with unittest.mock (fixes
47
+ https://github.com/cokelaer/easydev/issues/20)
44
48
  0.13.1 * fix get_dependencies
45
49
  0.13.0 * fix requirements (line_profiler) and CI
46
50
  0.12.2 * For developers: move to pyprojet. add precomit
@@ -13,12 +13,8 @@
13
13
  # Documentation: http://packages.python.org/easydev
14
14
  #
15
15
  ##############################################################################
16
- try:
17
- from ConfigParser import ConfigParser
18
- except ImportError:
19
- from configparser import ConfigParser
20
-
21
16
  import os
17
+ from configparser import ConfigParser
22
18
 
23
19
  __all__ = ["CustomConfig", "DynamicConfigParser"]
24
20
 
@@ -13,7 +13,6 @@
13
13
  # Documentation: http://easydev-python.readthedocs.io
14
14
  #
15
15
  ##############################################################################
16
- from __future__ import absolute_import # avoids conflict with standard module
17
16
 
18
17
  import os
19
18
  import sys
@@ -14,7 +14,6 @@
14
14
  #
15
15
  ##############################################################################
16
16
  """A progress bar copied and adapted from pyMC code (dec 2014)"""
17
- from __future__ import print_function
18
17
 
19
18
  import sys
20
19
  import time
@@ -19,7 +19,6 @@ try:
19
19
  except ImportError:
20
20
  import http.client as httplib
21
21
 
22
-
23
22
  __all__ = ["isurl_reachable"]
24
23
 
25
24
 
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "easydev"
7
- version = "0.13.1"
7
+ version = "0.13.2"
8
8
  description = "Commn utilities to ease development of Python packages"
9
9
  authors = ["Thomas Cokelaer <thomas.cokelaer@pasteur.fr>"]
10
10
  license = "BSD-3-Clause"
@@ -62,7 +62,6 @@ pytest-timeout = "^2.2.0"
62
62
  pytest-runner = "^6.0.1"
63
63
  coveralls = "^3.3.1"
64
64
  flaky = "^3.7.0"
65
- mock = "^5.1.0"
66
65
 
67
66
 
68
67
  [tool.poetry.group.doc.dependencies]
easydev-0.13.1/setup.py DELETED
@@ -1,42 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from setuptools import setup
3
-
4
- packages = \
5
- ['easydev', 'easydev.share', 'share']
6
-
7
- package_data = \
8
- {'': ['*'],
9
- 'easydev.share': ['themes/cno/*',
10
- 'themes/cno/static/*',
11
- 'themes/standard/*',
12
- 'themes/standard/static/*'],
13
- 'share': ['themes/cno/*',
14
- 'themes/cno/static/*',
15
- 'themes/standard/*',
16
- 'themes/standard/static/*']}
17
-
18
- install_requires = \
19
- ['colorama>=0.4.6,<0.5.0',
20
- 'colorlog>=6.8.2,<7.0.0',
21
- 'line-profiler>=4.1.2,<5.0.0',
22
- 'pexpect>=4.9.0,<5.0.0',
23
- 'platformdirs>=4.2.0,<5.0.0']
24
-
25
- setup_kwargs = {
26
- 'name': 'easydev',
27
- 'version': '0.13.1',
28
- 'description': 'Commn utilities to ease development of Python packages',
29
- 'long_description': "easydev\n##########\n\n.. image:: https://badge.fury.io/py/easydev.svg\n :target: https://pypi.python.org/pypi/easydev\n\n.. image:: https://github.com/cokelaer/easydev/actions/workflows/main.yml/badge.svg\n :target: https://github.com/cokelaer/easydev/actions/workflows/main.yml\n\n\n.. image:: https://coveralls.io/repos/cokelaer/easydev/badge.svg?branch=main\n :target: https://coveralls.io/r/cokelaer/easydev?branch=main\n\n\n\n\n:documentation: http://easydev-python.readthedocs.io/en/latest/\n:contributions: Please join https://github.com/cokelaer/easydev\n:source: Please use https://github.com/cokelaer/easydev\n:issues: Please use https://github.com/cokelaer/easydev/issues\n:Python version supported: 3.7, 3.8, 3.9, 3.10\n\n\nThe `easydev <http://pypi.python.org/pypi/easydev/>`_ package\nprovides miscellaneous functions that are repeatidly used during\nthe development of Python packages. The goal is to help developers on\nspeeding up their own dev. It has been used also as an incubator for other\npackages (e.g., http://pypi.python.org/pypi/colormap) and is stable.\n\n.. warning:: I'm not pretending to provide universal and bug-free tools. The\n tools provided may also change. However, **easydev** is used\n in a few other packages such as\n `bioservices <https://pypi.python.org/pypi/bioservices>`_,\n `sequana <https://sequana.readthedocs.io>`_ or\n `GDSCTools <https://sequana.readthedocs.io>`_ to give a few\n examples.\n\nChangelog\n~~~~~~~~~\n\n========= ==========================================================================\nVersion Description\n========= ==========================================================================\n0.13.1 * fix get_dependencies\n0.13.0 * fix requirements (line_profiler) and CI\n0.12.2 * For developers: move to pyprojet. add precomit\n * replace pkg_resources (deprecated) with importlib\n * replace appdirs with more generic platformdirs\n========= ==========================================================================\n",
30
- 'author': 'Thomas Cokelaer',
31
- 'author_email': 'thomas.cokelaer@pasteur.fr',
32
- 'maintainer': 'None',
33
- 'maintainer_email': 'None',
34
- 'url': 'None',
35
- 'packages': packages,
36
- 'package_data': package_data,
37
- 'install_requires': install_requires,
38
- 'python_requires': '>=3.8,<4.0',
39
- }
40
-
41
-
42
- setup(**setup_kwargs)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes