nasa / apod-api

Astronomy Picture of the Day API service
Apache License 2.0
833 stars 162 forks source link

installing package through "python setup.py install" throws error of a missing directory "bin" #7

Closed coder006 closed 4 years ago

coder006 commented 6 years ago
~/Documents/workspace/apod-api$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 39, in <module>
    scripts = [os.path.join("bin", file) for file in os.listdir("bin")]
FileNotFoundError: [Errno 2] No such file or directory: 'bin'

This is because the setup.py file is trying to list every file in the bin directory which does not exist: https://github.com/nasa/apod-api/blob/master/setup.py#L39

coder006 commented 6 years ago

Sorry, just saw that it only works on google app engine. Is there any specific reason why this targets a specific platform?

JustinGOSSES commented 4 years ago

Couldn't replicate this problem in 2020 on MacOS or Linux. Please ping to re-open if it occurs again.