-
Notifications
You must be signed in to change notification settings - Fork 7
Conda-forge? #822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
sure, how is that achieved? |
One of us makes a PR like conda-forge/staged-recipes#27690, requesting to create a "feedstock" for the package, with me and/or you under {% set name = "basedmypy" %}
{% set version = "2.7.0" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/basedmypy-{{ version }}.tar.gz
sha256: a8ff08c667d8ca06c6ab5acd574e683b557ce64671b2a0e0c2503979f1186411
build:
skip: true # [py<38]
entry_points:
- mypy=mypy.__main__:console_entry
- stubgen=mypy.stubgen:main
- stubtest=mypy.stubtest:main
- dmypy=mypy.dmypy.client:console_entry
- mypyc=mypyc.__main__:main
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0
requirements:
host:
- python
- setuptools >=40.6.2
- wheel >=0.30.0
- basedtyping >=0.1.4
- typing_extensions >=4.6.0
- mypy_extensions >=1.0.0
- tomli >=1.1.0 # [py<311]
- types-psutil
- types-setuptools
- mypy
- pip
run:
- python
- basedtyping >=0.1.4
- typing-extensions >=4.6.0
- mypy_extensions >=1.0.0
- tomli >=1.1.0 # [py<311]
test:
imports:
- mypy
- mypyc
commands:
- pip check
- mypy --help
- stubgen --help
- stubtest --help
- dmypy --help
- mypyc --help
requires:
- pip
about:
summary: Based static typing for Python
license: Apache-2.0 AND BSD-3-Clause AND EPL-2.0
license_file:
- LICENSE
- mypy/typeshed/LICENSE
- mypyc/external/googletest/LICENSE
extra:
recipe-maintainers:
- lucascolley
- KotlinIsland After that, the conda-forge bots will automatically send PRs to release a new version whenever you make a PyPI release. |
I can't quite tell whether you vendor googletest here, if so there may be some other changes needed to integrate with https://github.com/conda-forge/gtest-feedstock. |
https://github.com/conda-forge/basedmypy-feedstock is this something relevant? |
i don't, unless mypy does which i don't think they do |
ah, looks like @rxm7706 has done this already! |
actually, it doesn't seem to work - conda-forge/basedmypy-feedstock#11 |
looks like my change fixed it! Working at data-apis/array-api-extra#39 |
great work, thanks |
Could this library be made installable via conda-forge?
The text was updated successfully, but these errors were encountered: