Skip to content

Instantly share code, notes, and snippets.

@kinow
Created April 27, 2022 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinow/037ea9c5175d715942532b2a801da1c5 to your computer and use it in GitHub Desktop.
Save kinow/037ea9c5175d715942532b2a801da1c5 to your computer and use it in GitHub Desktop.
setuptools/discussions/3288
def hello():
print("hello")
__version__ = '0.1'
[build-system]
requires = ['setuptools>=42']
build-backend = 'setuptools.build_meta'
[metadata]
name = app
# Commenting the line below, the package_dir fails the build
# error: error in 'egg_base' option: '.*' does not exist or is not a directory
#
# Without commenting it, I get the ModuleNotFoundError I was getting earlier today
# ModuleNotFoundError: app
version = attr: app.__version__
license = Proprietary
platforms = Linux
[options]
zip_safe = False
include_package_data = True
python_requires = >=3.8
install_requires =
package_dir =
=.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment