spacetelescope / jirahub

A package for syncing JIRA tickets and Github issues
http://jirahub.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

Something wrong with setup.py on linux #16

Open Rplesha opened 5 years ago

Rplesha commented 5 years ago

When installing the package on a linux server, I get the error message: error: Setup script exited with error: command 'gcc' failed with exit status 1.

I don't understand what the issue is, but it appears that the root cause of this is coming from line 129 in setup.py: install_requires=[s.strip() for s in metadata.get('install_requires', 'astropy').split(',')], which is based off of line 51 in setup.cfg: install_requires = astropy, astropy-helpers, pygithub, jira.

Removing jira from the install_requires list allows the package to be installed on a linux machine without any errors. I had no issues installing from the same directory on a mac.

pllim commented 5 years ago

Without the full traceback, it is hard to tell. But if removing jira fixed it, then it is probably something incompatible between https://pypi.org/project/jira/ C files and your compiler.

stscijgbot commented 5 years ago

Tracked on JIRA as issue SCSB-16.