Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Make it possible to build package via PEP 517
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Aug 2, 2020
1 parent bb1ed62 commit 1eda57b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
"""Build helper."""

import os.path
import sys

from setuptools import setup
Expand All @@ -19,6 +20,11 @@
"You are using %s" % sys.version
)

# This is needed for versioneer to be importable when building with PEP 517.
# See <https://github.com/warner/python-versioneer/issues/193> and links
# therein for more information.
sys.path.append(os.path.dirname(__file__))

try:
import versioneer

Expand Down

0 comments on commit 1eda57b

Please sign in to comment.