pingswept / pysolar

Pysolar is a collection of Python libraries for simulating the irradiation of any point on earth by the sun. It includes code for extremely precise ephemeris calculations.
http://pysolar.org
GNU General Public License v3.0
372 stars 125 forks source link

Removed python2. Added build deps. #129

Closed hevanaa closed 4 years ago

hevanaa commented 4 years ago

With these changes to the spec file, pysolar builds with python3 on Fedora 32 and CentOS 8 (python2 is deprecated, so I didn't bother with it). Except in these systems, I haven't tried in other systems than CentOS 7 where it doesn't build due to missing libraries. It is a bit unclear to me which runtime dependencies pysolar requires (e.g. numpy?). Maybe at least python3 should be added as a Requires to the spec file. If someone knows, I can add it.

pingswept commented 4 years ago

Thanks for the patch, Johan!