kneasle / wheatley

An AI for Ringing Room that can ring any number of bells to increase the scope of practices.
https://pypi.org/project/wheatley/
MIT License
15 stars 13 forks source link

pip package includes tests #187

Closed centreboard closed 3 years ago

centreboard commented 3 years ago
    /home/mrj/.local/bin/wheatley
    /home/mrj/.local/lib/python3.8/site-packages/fuzzing/*
    /home/mrj/.local/lib/python3.8/site-packages/tests/*
    /home/mrj/.local/lib/python3.8/site-packages/wheatley-0.6.0.dist-info/*
    /home/mrj/.local/lib/python3.8/site-packages/wheatley/*
> ls /home/mrj/.local/lib/python3.8/site-packages/tests
__init__.py  __pycache__  row_generation  test_bell.py  test_parsing.py  test_stroke.py  test_wait_for_user_rhythm.py

I don't think it's intended to export fuzzing/ or tests/ in the package

centreboard commented 3 years ago

I think it's https://github.com/kneasle/wheatley/blob/c55c2c6d69e2be23036726200aed244a28f8a92e/setup.py#L27

>>> setuptools.find_packages()
['fuzzing', 'tests', 'wheatley', 'tests.row_generation', 'wheatley.rhythm', 'wheatley.row_generation']
>>> setuptools.find_packages(include=['wheatley*'])
['wheatley', 'wheatley.rhythm', 'wheatley.row_generation']