GithubHelp home page GithubHelp logo

Comments (4)

lucaga avatar lucaga commented on August 17, 2024

By the way the creation of conda version is done by following this manual entry:
Building conda packages with conda skeleton

from degiro-connector.

Chavithra avatar Chavithra commented on August 17, 2024

Dear Chavithra,

With a bit of effort, I managed to obtain the degiro_connector package installed in a conda environment.

Qualitatively, this is what I've done: created a conda version of the onetimepass package with conda skeleton, conda-build -c local commands installed onetimepass installed poetry (not sure if it is 100% needed) prepared for the creation of a conda version of the degiro_connector (very important UNDERSCORE) package with conda skeleton, Modified the meta.yaml addind poetry in all resources sections created the package with conda-build -c local commands

is it interesting to write down these steps in a more quantitative way?

Hello @lucaga ,

POETRY
Poetry is not necessary if you handle the dependencies with another mean.

STEPS
Maybe some people would be interested in know the steps to do it themselves.

Can you enlighten me on why you need a Conda package version of this library?

Thanks

from degiro-connector.

lucaga avatar lucaga commented on August 17, 2024

Dear Chavitra,

Thanks for the quick reply.

About the steps:
I'll write it here when I'm able to reproduce it. I was able to create a conda package of degiro_connector 2.x in May, but I'm not succeeding yet with 3.x

About the reason for the need of a conda package:
It's a combination of being a newbie, habit and the setup of the environment I'm using.
Thinking about the answer to your question, I do realize that I could get all I need from pip. Though I would have to recreate my environment.

Maybe it's a good plan b when I cannot create a package for DeGiro_connector 3.x

Regards
Luca

from degiro-connector.

lucaga avatar lucaga commented on August 17, 2024

Update:
Still not able to create a conda package of degiro_connector 3.x

I resorted to install pip in conda and use pip to solve dependencies for degiro_connector within an environment.

THe easiest way to achieve that was to create an environment from a environment.yml file (see conda manual).

My initial, raw environment.yml was like this:
=-=-=-=-

name: AnEnvironment
channels:
  - conda-forge
  - defaults
prefix: /home/lg/miniforge3/envs/AnEnvironment
dependencies:
  - python=3.12.*
  - numpy
  - pandas
  - yfinance
  - PyPortfolioOpt
  - pip
  - pip:
    - degiro_connector

=-=-=-=-
Hope this helps

from degiro-connector.

Related Issues (20)

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.