Skip to content
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

Anaconda loading #67

Merged
merged 3 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!--
Thanks for contributing a pull request! Please ensure that
your PR satisfies the checklist before submitting:
- Did you check that the code can be distributed under a MIT license? See License Considerations.
- Have all GitHub action finished well?
- Does the documentation render correctly? See Rendering documentation locally with Sphinx.
- Is the commit message formatted correctly?

Note that we are a team of volunteers; we appreciate your
patience during the review process.

Again, thanks for contributing!
-->

#### Reference issue
<!--Example: Closes gh-WXYZ.-->

#### What does this implement/fix?
<!--Please explain your changes.-->

#### Additional information
<!--Any additional information you think is important.-->
19 changes: 19 additions & 0 deletions .github/workflows/publish-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish Conde

on:
release:
types: [published]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: publish-to-conda
uses: maxibor/[email protected]
with:
subDir: 'conda'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
11 changes: 8 additions & 3 deletions CHECKLIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,18 @@
- [x] [FAQ](https://github.com/quillcraftsman/open-source-checklist#faq)
- [x] [Examples Output and Screenshots](https://github.com/quillcraftsman/open-source-checklist#examples-output-and-screenshots)
- [x] [License](https://github.com/quillcraftsman/open-source-checklist#license)
- [x] [Code of Conduct](https://github.com/quillcraftsman/open-source-checklist#code-of-conduct)
- [x] [Security Policy](https://github.com/quillcraftsman/open-source-checklist#security-policy)
- [x] [Code of Conduct](https://github.com/libresource/open-source-checklist#code-of-conduct)
- [x] [Security Policy](https://github.com/libresource/open-source-checklist#security-policy)
- [x] [Governance](https://github.com/libresource/open-source-checklist#governance)
- [x] [Issue templates](https://github.com/libresource/open-source-checklist#issue-templates)
- [x] [Pull Request Template](https://github.com/libresource/open-source-checklist#pull-request-template)
- [x] [Support](https://github.com/libresource/open-source-checklist#support)

[CI and CD](https://github.com/quillcraftsman/open-source-checklist#ci-and-cd)
- [X] Tests
- [X] Test Coverage
- [ ] Test Coverage 100%
- [X] Linters
- [X] Build
- [X] Deploy
- [X] Deploy
- [ ] [New User Greetings](https://github.com/libresource/open-source-checklist#new-user-greetings)
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pylint:
pylint $(shell git ls-files '*.py')

lint:
make yamllint
make pylint

sphinx-help:
Expand Down
44 changes: 44 additions & 0 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% set name = "find-similar" %}
{% set version = "2.0.0" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: 4e0996e530ad0f6156d5d731d278e286710edefb2c059daec9be87c48e15462d

build:
number: 0
noarch: python
script: "{{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation"

requirements:
host:
- pip
- python >=3.10
run:
- nltk ==3.8.1
- pydantic ==2.4.2
- pymorphy3 ==1.2.1
- python >=3.10
- pyyaml ==6.0.1
- setuptools

test:
imports:
- find_similar

about:
home: "https://github.com/findsimilar/find-similar"
license: MIT
license_family: MIT
license_file: LICENSE
summary: "User-friendly library to find similar objects"
doc_url: "https://docs.findsimilar.org"
dev_url: "https://github.com/findsimilar/find-similar"

extra:
recipe-maintainers:
- findsimilar