joshua-auchincloss/hatch-cython

chore: remove hatch from deps

Opened this issue · 1 comments

looks like it only need hatch here

from hatch.utils.ci import running_in_ci

it's a 2 lines function

def running_in_ci() -> bool:
    return any(os.environ.get(env_var) in {'true', '1'} for env_var in ('CI', 'GITHUB_ACTIONS'))

can we just copy this file into this project so we don't need to install hatch when building? it could speedup build

@trim21 sure, I'm happy with that change! Will work into v0.6.0rc2