Skip to content

Commit

Permalink
add proper excludes, pytest config
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma67 committed Mar 21, 2023
1 parent cca62ee commit ed4f58e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,11 @@
prune */__pycache__
prune *.egg-info
prune rst2pdf/examples
prune rst2pdf/tests
prune rst2pdf/ezsetup
prune snap
prune doc
prune .*
exclude .*
exclude *.md
exclude *.txt
6 changes: 3 additions & 3 deletions pyproject.toml
Expand Up @@ -71,9 +71,6 @@ where = ["rst2pdf"]
'templates/*tmpl'
]

[tool.setuptools.exclude-package-data]
rst2pdf = ['ez_setup', 'examples', 'tests']

[tool.black]
line-length = 88
target-version = ['py36']
Expand All @@ -92,6 +89,9 @@ exclude = '''
)
'''

[tool.pytest.ini_options]
testpaths = ["rst2pdf/tests"]

[tool.tox]
legacy_tox_ini = """
[tox]
Expand Down

0 comments on commit ed4f58e

Please sign in to comment.