File tree 3 files changed +58
-0
lines changed
3 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ # How to Build the Package and Publish to Anaconda.org
2
+
3
+ From the root of the repository, run:
4
+ ``` bash
5
+ docker run -v .:/quix-streams -w /quix-streams --rm -it continuumio/miniconda3 bash
6
+ ```
7
+
8
+ Obtain Anaconda API Token from https://anaconda.org/quixio/settings/access .
9
+ Inside the container, execute the following commands:
10
+ ``` bash
11
+ export ANACONDA_API_TOKEN=' <Anaconda API Token>'
12
+ export QUIXSTREAMS_VERSION=$( grep ' __version__' ./quixstreams/__init__.py | cut -d ' "' -f 2)
13
+ conda install --yes conda-build anaconda-client
14
+ conda build --channel conda-forge --user quixio ./conda
15
+ ```
Original file line number Diff line number Diff line change
1
+ package :
2
+ name : quixstreams
3
+ version : {{ QUIXSTREAMS_VERSION }}
4
+
5
+ source :
6
+ git_url : https://github.com/quixio/quix-streams
7
+ git_tag : v{{ QUIXSTREAMS_VERSION }}
8
+
9
+ build :
10
+ noarch : python
11
+ script : {{ PYTHON }} -m pip install --no-deps --no-build-isolation .
12
+
13
+ requirements :
14
+ host :
15
+ - python >=3.8,<3.13
16
+ run :
17
+ - python >=3.8,<3.13
18
+ - python-confluent-kafka >=2.2,<2.6
19
+ - requests >=2.32
20
+ - typing_extensions >=4.8
21
+ - orjson >=3.9,<4
22
+ - pydantic >=2.7,<2.9
23
+ - pydantic-settings >=2.3,<2.5
24
+ - jsonschema >=4.3.0
25
+ - fastavro >=1.8,<2.0
26
+
27
+ test :
28
+ imports :
29
+ - quixstreams
30
+
31
+ about :
32
+ home : https://quix.io
33
+ summary : Python library for building stream processing applications with Apache Kafka
34
+ license : Apache-2.0
35
+ license_file : LICENSE
36
+ doc_url : https://quix.io/docs/quix-streams/introduction.html
37
+ dev_url : https://github.com/quixio/quix-streams
Original file line number Diff line number Diff line change
1
+ # Use pip to install packages missing from conda
2
+
3
+ $PREFIX /bin/pip install \
4
+ ' rocksdict>=0.3,<0.4' \
5
+ ' protobuf>=5.27.2,<6.0' \
6
+ ' influxdb3-python>=0.7,<1.0'
You can’t perform that action at this time.
0 commit comments