Skip to content

Commit

Permalink
setup.py: Remove deprecated method use_2to3 (#1742)
Browse files Browse the repository at this point in the history
HINT: Method has been deprecated since setuptools >= 58.0.0
Fixes #1736

Co-authored-by: jenisys <[email protected]>
  • Loading branch information
krisgesling and jenisys authored Sep 12, 2021
1 parent 41f8f14 commit 1215d00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions tag-expressions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Removed

* [Python] Remove call to deprecated `2to3` library during setup
([#1736](https://github.com/cucumber/common/issues/1736)
[krisgesling])

### Fixed

## [4.0.0] - 2021-09-02
Expand Down
5 changes: 0 additions & 5 deletions tag-expressions/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
README = os.path.join(HERE, "README.rst")
long_description = ''.join(open(README).readlines()[4:])

use_2to3_enabled = False
if python_version >= 3.0:
use_2to3_enabled = True


# -----------------------------------------------------------------------------
# UTILITY:
Expand Down Expand Up @@ -109,5 +105,4 @@ def find_packages_by_root_package(where):
"License :: OSI Approved :: BSD License",
],
platforms = ['any'],
use_2to3 = use_2to3_enabled
)

0 comments on commit 1215d00

Please sign in to comment.