-
- Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Setuptools version: 38.4.0
Python version: 2.7.12
Ubuntu version: 16.04
Hey! I'm moving all my options from setup.py to setup.cfg so I can have a clean setup.py:
"""Minimal setup.py.""" from setuptools import setup from setuptools.config import read_configuration conf_dict = read_configuration('setup.cfg') setup() But I'm having a problem with the package_dir option.
My package lives inside src folder and while I can do package_dir={"":"src"} in the setup.py, but I can't use it properly in the setup.cfg.
What I tried so far? (I tried more combinations, but they give an error)
[options] package_dir = . = src [options] package_dir = "" = "src" [options] package_dir = "." = src With this options, when I run python setup.py egg_info it leads to.. "package directory <package_name> not found".
Any insight? Thank you :D
Metadata
Metadata
Assignees
Labels
No labels