Giter Club home page Giter Club logo

svgwrite-feedstock's Introduction

About svgwrite

Home: https://github.com/mozman/svgwrite

Package license: MIT

Feedstock license: BSD-3-Clause

Summary: A Python library to create SVG drawings.

Development: https://github.com/mozman/svgwrite

Documentation: http://svgwrite.readthedocs.io

A Python library to create SVG drawings.

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing svgwrite

Installing svgwrite from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, svgwrite can be installed with conda:

conda install svgwrite

or with mamba:

mamba install svgwrite

It is possible to list all of the versions of svgwrite available on your platform with conda:

conda search svgwrite --channel conda-forge

or with mamba:

mamba search svgwrite --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search svgwrite --channel conda-forge

# List packages depending on `svgwrite`:
mamba repoquery whoneeds svgwrite --channel conda-forge

# List dependencies of `svgwrite`:
mamba repoquery depends svgwrite --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge Anaconda-Cloud channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating svgwrite-feedstock

If you would like to improve the svgwrite recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/svgwrite-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

svgwrite-feedstock's People

Contributors

bgruening avatar conda-forge-admin avatar conda-forge-curator[bot] avatar jeromekelleher avatar regro-cf-autotick-bot avatar

Watchers

 avatar  avatar  avatar  avatar

svgwrite-feedstock's Issues

svgwrite 1.4 needs to be Python 3+

Issue:

Pretty much as said in title. The new svgwrite requires Python 3. It imports urllib.request, which doesn't exist in Py 2.7. I still have projects that test against 2.7, which is how I found it. Replicated in a conda env (with conda-forge in my default channels):

$ conda create -n svgwrite-py27 python=2.7 svgwrite
$ conda activate svgwrite-py27
$ python -c "import svgwrite"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/dwhs/miniconda3/envs/svgwrite-py27/lib/python2.7/site-packages/svgwrite/__init__.py", line 53, in <module>
    from svgwrite.drawing import Drawing
  File "/Users/dwhs/miniconda3/envs/svgwrite-py27/lib/python2.7/site-packages/svgwrite/drawing.py", line 29, in <module>
    from svgwrite.container import SVG, Defs
  File "/Users/dwhs/miniconda3/envs/svgwrite-py27/lib/python2.7/site-packages/svgwrite/container.py", line 26, in <module>
    from urllib.request import urlopen
ImportError: No module named request

Environment (conda list):
$ conda list
# packages in environment at /Users/dwhs/miniconda3/envs/svgwrite-py27:
#
# Name                    Version                   Build  Channel
ca-certificates           2019.11.28           hecc5488_0    conda-forge
certifi                   2019.11.28       py27h8c360ce_1    conda-forge
libcxx                    9.0.1                         1    conda-forge
libffi                    3.2.1             h4a8c4bd_1007    conda-forge
ncurses                   6.1               h0a44026_1002    conda-forge
openssl                   1.1.1e               h0b31af3_0    conda-forge
pip                       20.0.2                     py_2    conda-forge
pyparsing                 2.4.6                      py_0    conda-forge
python                    2.7.15          h8e446fc_1011_cpython    conda-forge
python_abi                2.7                     1_cp27m    conda-forge
readline                  8.0                  hcfe32e1_0    conda-forge
setuptools                44.0.0                   py27_0    conda-forge
sqlite                    3.30.1               h93121df_0    conda-forge
svgwrite                  1.4                pyh9f0ad1d_0    conda-forge
tk                        8.6.10               hbbe82c9_0    conda-forge
wheel                     0.34.2                     py_1    conda-forge
zlib                      1.2.11            h0b31af3_1006    conda-forge

Details about conda and system ( conda info ):
$ conda info

     active environment : svgwrite-py27
    active env location : /Users/dwhs/miniconda3/envs/svgwrite-py27
            shell level : 3
       user config file : /Users/dwhs/.condarc
 populated config files : /Users/dwhs/.condarc
          conda version : 4.8.2
    conda-build version : not installed
         python version : 3.7.3.final.0
       virtual packages : __osx=10.14.6
       base environment : /Users/dwhs/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/omnia/osx-64
                          https://conda.anaconda.org/omnia/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/dwhs/miniconda3/pkgs
                          /Users/dwhs/.conda/pkgs
       envs directories : /Users/dwhs/miniconda3/envs
                          /Users/dwhs/.conda/envs
               platform : osx-64
             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.3 Darwin/18.7.0 OSX/10.14.6
                UID:GID : 501:20
             netrc file : None
           offline mode : False

(but caught it in Linux build on Travis).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.