Skip to content

Commit

Permalink
Tweaks to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
perwin committed Jul 23, 2024
1 parent 16857a6 commit acc5c51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README_pyimfit.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ or Jupyter notebook):
image_data = fits.getdata(imageFile)

# construct model from config file; construct new Imfit fitter based on model,;
model_desc = pyimfit.ModelDescription.load(configFile)
model_desc = pyimfit.ModelDescription.load(imfitConfigFile)

# create an Imfit object, using the previously loaded model configuration
imfit_fitter = pyimfit.Imfit(model_desc)
Expand Down
2 changes: 1 addition & 1 deletion make_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def main( argv=None ):
(options, args) = parser.parse_args(argv)
# args[0] = name program was called with
# args[1] = first actual argument, etc.
if len(argv) < 2:
if len(args) < 2:
print("You must supply a version number!\n")
return None
versionNum = args[1]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def run(self):
# NOTE: it's not clear we really need 'numpy' in the install_requires, since we
# have numpy specified in requirements.txt
setup_requires=['scons'],
install_requires=['numpy', 'scipy'],
install_requires=['numpy<2.0', 'scipy'],
cmdclass={'build_ext': my_build_ext, 'clean': CleanCommand, 'cleanall': CleanAllCommand},
ext_modules=extensions
)

0 comments on commit acc5c51

Please sign in to comment.