Giter VIP home page Giter VIP logo

my-custom-package-01's Introduction

First:

conda create --prefix /Users/gregorpirs/.conda/envs/my-custom-package-01 python=3.11
conda activate
conda install conda-build conda-verify

Create a setup.py script:

from setuptools import setup, find_packages

setup(
    name="my_package_01",
    version="1.0.1",
    packages=find_packages(),
    install_requires=[
        # Add your package's dependencies here, e.g., "numpy>=1.19.2"
    ],
    author="Your Name",
    author_email="[email protected]",
    description="A short description of my package",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    url="https://github.com/username/my_package_01",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
    ],
)

Create a ./recipe/meta.yaml script (has to be yaml not yml):

package:
  name: my-custom-package-01
  version: 1.0.1

source:
  path: ..

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

requirements:
  build:
    - python
    - setuptools
  run:
    - 'python>=3.10'
    - 'pandas>=1.5.0,<2'

test:
  imports:
    - my_custom_package_01

about:
  home: https://github.com/username/my-package
  license: MIT
  summary: 'A short description of my package'
  description: 'A longer description of my package'
  doc_url: https://my-package.readthedocs.io
  dev_url: https://github.com/username/my-package

Run:

conda build recipe

my-custom-package-01's People

Contributors

gregorp90 avatar

Watchers

 avatar

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.