Skip to content

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

@detrout

Description

@detrout

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',

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions