Convert FLiT into a python module #317
Labels
documentation
Involves touching documentation
enhancement
make
Involves touching GNU Makefiles
python
Involves touching python code
tests
Involves touching tests
Feature Request
Describe the new feature:
What if we could install FLiT as a python module? Think of something like
It would still install the
flit
command-line tool, but also have some stuff available from python. For example, what if you could do this:We could maybe make things easier such as having a function you could call from the library that would return the bisect results in a nice structure you could manipulate and query. If we were to make more changes like that, I would recommend posting a new issue for those improvements.
Suggested change:
scripts/flitcli
into a different place more idiomatic to python module practices.flit/__init__.py
script that imports each module and makes them available as their base name (e.g.,flit_bisect
is available as simplybisect
)Makefile
with asetup.py
script that uses python's installation utilities.flit
to pypy so users can dopip install flit
The text was updated successfully, but these errors were encountered: