Skip to content

Commit

Permalink
rm comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Aug 27, 2024
1 parent 3e6f70e commit b3508fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
config.read('settings.ini', encoding='utf-8')
cfg = config['DEFAULT']

# NOTE: package_data is missing from here
cfg_keys = 'version description keywords author author_email'.split()
expected = cfg_keys + "lib_name user branch license status min_python audience language".split()
for o in expected: assert o in cfg, "missing expected setting: {}".format(o)
Expand All @@ -31,7 +30,6 @@
lic = licenses.get(cfg['license'].lower(), (cfg['license'], None))
dev_requirements = (cfg.get('dev_requirements') or '').split()

# NOTE: handle package_data here e.g. in settings.ini `package_data = ../data/defaults.yml`
package_data = dict()
pkg_data = cfg.get('package_data', None)
if pkg_data:
Expand All @@ -49,7 +47,7 @@
] + ['Programming Language :: Python :: '+o for o in py_versions[py_versions.index(min_python):]] + (['License :: ' + lic[1] ] if lic[1] else []),
url = cfg['git_url'],
packages = setuptools.find_packages(),
include_package_data = True, # NOTE: unclear if this automatically determines package data and if so how
include_package_data = True,
install_requires = requirements,
extras_require={ 'dev': dev_requirements },
dependency_links = cfg.get('dep_links','').split(),
Expand Down

0 comments on commit b3508fb

Please sign in to comment.