Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,24 @@
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

# The install_requires does not support installation from git.
try:
import file_handlers.fits_handler
except ImportError:
print(
"\n"
"\n"
"You must manually install databroker_fitshandler:\n"
"pip install git+git://github.com/als-computing/datahandler_fits@master#egg=databroker-fitshandler"
"\n"
"\n"
)
import sys
sys.exit(1)
with open(path.join(here, 'requirements.txt')) as requirements_file:
# Parse requirements.txt, ignoring any commented-out lines.
requirements = [line for line in requirements_file.read().splitlines()
if not line.startswith('#')]
if not (line.startswith('#') or line.startswith("git+"))]
setup(

name='splash-server',
Expand Down