Skip to content

Commit

Permalink
add pyproject.html
Browse files Browse the repository at this point in the history
I read pypa/setuptools#1698, and a side effect
of source root not being in sys.path is mentioned: probably that is
related to PyInstaller and other things so I left a commented out thing
in setup.py b/c odds seem high that will effect us.
  • Loading branch information
cbm755 committed May 20, 2020
1 parent 3f315b0 commit 4509fb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools >= 40.6.0", "wheel"]
build-backend = "setuptools.build_meta"
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
with open("README.md", "r") as fh:
long_description = fh.read()

# TODO: "stop importing things from the local path" or use this workaround:
#sys.path.insert(0, os.dirname(__file__))

# This directory
dir_setup = os.path.dirname(os.path.realpath(__file__))

Expand Down

0 comments on commit 4509fb6

Please sign in to comment.