AaronParsons / ugradio

UC Berkeley Undergraduate Radio Lab
20 stars 38 forks source link

Changes to setup.py and __init__.py to enable Python3 installation. #10

Closed bbrzycki closed 4 years ago

bbrzycki commented 5 years ago

Add .gitignore to avoid committing distribution files. As such, python setup.py install works with Python 3.7.

These changes break the python2 version, however, in terms of dependencies. Some examples:

The most glaring: astropy requires Python>=3.5. This is probably the biggest reason to fully migrate.

thread works in Python 2 but not in Python 3. If we are only going to fully migrate to Python 3, we may as well just use threading.

serial is not an included module in Python 3, but including it forces other dependencies in Python 2. #7