Skip to content

Commit

Permalink
Merge pull request #77 from pepkit/dev
Browse files Browse the repository at this point in the history
0.13.2, remove use_2to3
  • Loading branch information
nsheff authored Nov 5, 2021
2 parents b2c80a6 + bfe95cb commit ecaa6db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion attmap/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.13.1"
__version__ = "0.13.2"
4 changes: 4 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [0.13.2] - 2021-11-04
### Fixed
- Made compatibile with setuptools 58 by removing use_2to3

## [0.13.1] - 2021-11-04
### Added
- `_excl_classes_from_todict`, which can be used to list classes to be excluded from the `dict` representation
Expand Down
12 changes: 2 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,13 @@ def read_reqs(reqs_name):

DEPENDENCIES = read_reqs("all")

# 2to3
if sys.version_info >= (3,):
extra["use_2to3"] = True
extra["install_requires"] = DEPENDENCIES

with open("{}/_version.py".format(PACKAGE), "r") as versionfile:
version = versionfile.readline().split()[-1].strip("\"'\n")

# Handle the pypi README formatting.
try:
import pypandoc

long_description = pypandoc.convert_file("README.md", "rst")
except (IOError, ImportError, OSError):
long_description = open("README.md").read()
with open("README.md") as f:
long_description = f.read()

setup(
name=PACKAGE,
Expand Down

0 comments on commit ecaa6db

Please sign in to comment.