apertium/streamparser

Setuptools

Closed this issue · 2 comments

Can we add setuptools for easier installation/building?

Setuptools is really simple to use: https://setuptools.readthedocs.io/en/latest/setuptools.html#basic-use. Hmm, but there is also the native (but maybe not crossplatform?) library, distutils. It can be used basically similarly, it has also the setup function which can be imported with from distutils.core import setup.

See these answers for comparison: http://stackoverflow.com/questions/6344076/differences-between-distribute-distutils-setuptools-and-distutils2#14753678.

I think I would go to distutils because streamparser is such a simple python module and setuptools would be required to install separately.

The Python Software Foundation has also a nice document about packaging python programs: https://packaging.python.org/distributing/