Skip to content

Commit

Permalink
Remove mention of deprecated setuptools features (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmoore authored Dec 1, 2022
1 parent d4ee05f commit db5806e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
1 change: 0 additions & 1 deletion data/data_file

This file was deleted.

13 changes: 1 addition & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,7 @@
package_data={ # Optional
"sample": ["package_data.dat"],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[("my_data", ["data/data_file"])], # Optional
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
#
# For example, the following would provide a command called `sample` which
# Entry points. The following would provide a command called `sample` which
# executes the function `main` from this package when invoked:
entry_points={ # Optional
"console_scripts": [
Expand Down
6 changes: 0 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#
# - check-manifest
# confirm items checked into vcs are in your sdist
# - python setup.py check
# confirm required package meta-data in setup.py
# - readme_renderer (when using a ReStructuredText README)
# confirms your long_description will render correctly on PyPI.
#
Expand Down Expand Up @@ -35,10 +33,6 @@ deps =
pytest
commands =
check-manifest --ignore 'tox.ini,tests/**'
# This repository uses a Markdown long_description, so the -r flag to
# `setup.py check` is not needed. If your project contains a README.rst,
# use `python setup.py check -m -r -s` instead.
python setup.py check -m -s
flake8 .
py.test tests {posargs}

Expand Down

0 comments on commit db5806e

Please sign in to comment.