Skip to content

Commit 7a0ec98

Browse files
authored
Merge pull request #46 from dgelessus/fix_setup_cfg_read
Fix setup.py to work with setuptools 41.4.0 and later
2 parents 3cd26eb + 3edb0c3 commit 7a0ec98

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
import os
21
from setuptools import setup
3-
from setuptools.config import read_configuration
42

5-
this_dir = os.path.dirname(__file__)
6-
cfg = read_configuration(os.path.join(this_dir, 'setup.cfg'))
7-
cfg["options"].update(cfg["metadata"])
8-
cfg = cfg["options"]
9-
10-
setup(**cfg)
3+
setup()

0 commit comments

Comments
 (0)