Code Monkey home page Code Monkey logo

Comments (5)

IanLee1521 avatar IanLee1521 commented on May 29, 2024

That's strange... I don't see that line of code. In __init__.py I have: https://github.com/cleder/fastkml/blob/master/fastkml/__init__.py#L40

Which is accessed by https://github.com/cleder/fastkml/blob/master/setup.py#L24

from fastkml.

cleder avatar cleder commented on May 29, 2024

right.
If you access __init__ during setup (easy_install, pip install - e.g. in a virtualenv ) it tries to import pygeoif which may not be present. importing __version__ this way breaks the possibility to install without installing requirements.txt first

from fastkml.

cleder avatar cleder commented on May 29, 2024

ooops sorry, it only seems to break when installed with buildout - or manual with python setup.py install. pip install fastkml and easy_install fastkml seem to work.
let me try to break the tests ...

from fastkml.

IanLee1521 avatar IanLee1521 commented on May 29, 2024

I see what you mean though. I'm trying to work on a better solution. I
found this
http://stackoverflow.com/questions/17583443/what-is-the-correct-way-to-share-package-version-with-setup-py-and-the-package
stack
overflow link that offers some help.

I just pushed a new branch https://github.com/cleder/fastkml/tree/issue-23
that works in all cases I've been trying to break. I'll take a look more a
bit later tonight.

~ Ian Lee

On Sat, Nov 1, 2014 at 2:05 PM, Christian Ledermann <
[email protected]> wrote:

ooops sorry, it only seems to break when installed with buildout - or
manual with python setup.py install. pip install fastkml and easy_install
fastkml seem to work.
let me try to break the tests ...


Reply to this email directly or view it on GitHub
#23 (comment).

from fastkml.

IanLee1521 avatar IanLee1521 commented on May 29, 2024

Doesn't this

- pip install fastkml
just install the version that is up on pypi?

from fastkml.

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.