Skip to content

Commit

Permalink
make things windows friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Dec 26, 2023
1 parent de72e86 commit d645a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion py/minimint/mist_interpolator.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def getheader(f):


def read_grid(eep_prefix, outp_prefix):
fs = glob.glob('%s/*EEPS/*eep' % (eep_prefix, ))
fs = glob.glob(os.path.join([eep_prefix, '*EEPS', '*eep']))
assert (len(fs) > 0)
tmpfile = utils.tail_head(fs[0], 11, 10)
tab0 = atpy.Table().read(tmpfile, format='ascii.fast_commented_header')
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def read(fname):
VERSIONPIP = read('version.txt').rstrip()
VERSION = VERSIONPIP + get_revision()

with open('py/minimint/_version.py', 'w') as fp:
with open(os.path.join(['py', 'minimint', '_version.py']), 'w') as fp:
print('version="%s"' % (VERSION), file=fp)

setup(
Expand All @@ -55,8 +55,8 @@ def read(fname):
url="http://github.com/segasai/minimint",
packages=['minimint'],
scripts=[fname for fname in glob.glob(os.path.join('bin', '*'))],
package_dir={'': 'py/'},
package_data={'minimint': ['tests/']},
package_dir={'': 'py'},
package_data={'minimint': ['tests']},
long_description=read('README.md'),
long_description_content_type='text/markdown',
classifiers=[
Expand Down

0 comments on commit d645a9c

Please sign in to comment.