-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from andreatramacere/v1.3.x
V1.3.x
- Loading branch information
Showing
93 changed files
with
31,981 additions
and
4,381 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% set data = load_setup_py_data(setup_file='../../../setup.py', from_recipe_dir=True) %} | ||
{% set version = data.get('version') %} | ||
|
||
package: | ||
name: jetset | ||
version: {{ version }} | ||
|
||
source: | ||
path: ../../../ | ||
|
||
build: | ||
preserve_egg_dir: True | ||
script_env: | ||
- JETSETBESSELBUILD | ||
|
||
requirements: | ||
|
||
build: | ||
- swig>3.0.0 | ||
- python {{ python }} | ||
- setuptools | ||
# - numpy this will come from requirements.txt | ||
|
||
run: | ||
# - entries from requirements.txt | ||
|
||
|
||
|
||
about: | ||
home: https://github.com/andreatramacere/jetset | ||
license: BSD-3 | ||
summary: '' | ||
license_family: BSD | ||
|
||
extra: | ||
recipe-maintainers: | ||
- andreatramacere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/bin/bash | ||
echo '>>>>>>>>>>>>>>>>>>>',$PWD | ||
$PYTHON setup.py clean | ||
$PYTHON setup.py install | ||
pip install . -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import os | ||
import platform | ||
import shutil | ||
name=os.getenv('CONDABUILDJETSET') | ||
|
||
if platform.system()=='Darwin': | ||
system_str = 'macos' | ||
else: | ||
system_str = 'linux' | ||
|
||
if 'arm64' in platform.platform(): | ||
system_str= '%s_arm64'%system_str | ||
|
||
new_name=name.replace('.tar.bz2','_conda_%s.tar.bz2'%system_str) | ||
|
||
shutil.move(name,new_name) | ||
|
||
os.makedirs('conda-binary') | ||
|
||
shutil.move(new_name,'conda-binary') |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
import shutil | ||
|
||
_str_end=""" | ||
about: | ||
home: https://github.com/andreatramacere/jetset | ||
license: BSD-3 | ||
summary: '' | ||
license_family: BSD | ||
extra: | ||
recipe-maintainers: | ||
- andreatramacere | ||
""" | ||
|
||
|
||
|
||
|
||
_skip_list=['pyqt','swig'] | ||
f = open("./requirements.txt",'r') | ||
req=f.readlines() | ||
f.close() | ||
|
||
req=[n.strip() for n in req] | ||
for r in req[:]: | ||
for s in _skip_list[:]: | ||
|
||
if s in r: | ||
req.remove(r) | ||
|
||
|
||
np_str='' | ||
pkg_str_list=[] | ||
for r in req: | ||
if r.startswith('#') is False: | ||
if 'numpy' in r: | ||
np_str=r | ||
pkg_str_list.append(r) | ||
|
||
_str_start=""" | ||
{% set data = load_setup_py_data(setup_file='../../../setup.py', from_recipe_dir=True) %} | ||
{% set version = data.get('version') %} | ||
package: | ||
name: jetset | ||
version: {{ version }} | ||
source: | ||
path: ../../../ | ||
build: | ||
preserve_egg_dir: True | ||
script_env: | ||
- JETSETBESSELBUILD | ||
requirements: | ||
build: | ||
- swig>3.0.0 | ||
- python {{ python }} | ||
- setuptools""" | ||
|
||
f = open(".github/conda-pipeline/github/meta.yaml",'w') | ||
print(_str_start,file=f) | ||
print( ' - %s'%np_str, file=f) | ||
|
||
print('',file=f) | ||
print(' run:',file=f) | ||
print(' - python>=3.8', file=f) | ||
for pkg_str in pkg_str_list: | ||
print(' - %s'%pkg_str, file=f) | ||
print(_str_end,file=f) | ||
f.close() |
Oops, something went wrong.