Open patricklodder opened 2 years ago
The only question mark I have with this is:
Defaulting to user installation because normal site-packages is not writeable
can we make that explicit in the same way as we're calling setup.py --user
?
Now I think it's better to use setuptools
instead of distutils.core
.
https://github.com/dogecoin/ltc-scrypt/blob/cab9cb027636dcca4112f2df607598aa3f502263/setup.py#L16
from setuptools import setup, Extension
Now I think it's better to use setuptools instead of distutils.core.
Thanks! This is do-able once we no longer need to support python 3.6 - currently we depend on that with Dogecoin Core because we cannot build 1.14 on anything higher than bionic. Once we've solved that problem there, we can move this to setuptools and save ourselves the dependency.
In the interim we could do something like this: https://github.com/patricklodder/ltc-scrypt/commit/00109437c086ebb005f837621b96665ae613bfe2
Originally posted by @xanimo in https://github.com/dogecoin/ltc-scrypt/pull/9#pullrequestreview-1078062721
Also a small nit that can be addressed in the future is to address the deprecation warnings regarding setup.py install as shown here:
This can be resolved by running
python -m pip install .
: