Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caper installs tests into site-packages/tests which is too generic of a name #206

Open
detrout opened this issue Oct 29, 2024 · 0 comments

Comments

@detrout
Copy link

detrout commented Oct 29, 2024

autouri also tried installing a tests package and caper conflicted with that. See ENCODE-DCC/autouri#38

This patch excludes the tests module from installation, but if you wanted the tests installed, it could also work to put them in caper/tests/ instead.

--- caper-2.3.2/setup.py~	2023-07-21 11:40:30.000000000 -0700
+++ caper-2.3.2/setup.py	2024-10-29 08:56:43.886437238 -0700
@@ -52,5 +52,5 @@
     long_description_content_type='text/markdown',
     url='https://github.com/ENCODE-DCC/caper',
-    packages=setuptools.find_packages(exclude=['mysql*', 'docs']),
+    packages=setuptools.find_packages(exclude=['mysql*', 'docs', 'tests']),
     classifiers=[
         'Programming Language :: Python :: 3',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant