Skip to content

Commit

Permalink
moved include_data_package to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ken@arch committed Jun 19, 2022
1 parent d8b8537 commit 0e7565d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*/**.egg-info
*.egg-info
config.yaml
.idea/*
.coverage
Expand Down
6 changes: 5 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ project_urls =
Docker Code=https://hub.docker.com/repository/docker/kenho811/database-version-control#
YouTube=https://www.youtube.com/watch?v=9l3m7zBxN4Y
classifiers =
Programming Language :: Python :: 3
Programming Language :: Python :: 3

[options.package_data]
# If any package or subpackage contains *.sql.
* = *.sql
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
author_email='[email protected]',
packages=(find_packages(where="src")),
package_dir={"": "src"},
# Include SQL files (seen as data by setup tools)
package_data={'': ['*.sql']},
include_package_data=True,
install_requires=[
'psycopg2',
'typer[all]',
Expand Down

0 comments on commit 0e7565d

Please sign in to comment.