Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

__version__ breaks pip #3

Copy link
Copy link
@superbobry

Description

@superbobry
Issue body actions

Unfortunately, __version__ trick in setup.py breaks bert installation:

Downloading/unpacking erlastic>=1.0.0 (from foobar)
  Downloading erlastic-1.0.0.tar.gz
  Running setup.py egg_info for package erlastic
Downloading/unpacking bert>=1.0.0 (from foobar)
  Downloading bert-1.0.0.tar.gz
  Running setup.py egg_info for package bert
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/bobry/Code/env/build/bert/setup.py", line 5, in <module>
        from bert import __version__ as version
      File "bert/__init__.py", line 6, in <module>
        from bert.codec import BERTDecoder, BERTEncoder
      File "bert/codec.py", line 6, in <module>
        from erlastic import ErlangTermDecoder, ErlangTermEncoder, Atom
    ImportError: No module named erlastic
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/bobry/Code/env/build/bert/setup.py", line 5, in <module>

    from bert import __version__ as version

  File "bert/__init__.py", line 6, in <module>

    from bert.codec import BERTDecoder, BERTEncoder

  File "bert/codec.py", line 6, in <module>

    from erlastic import ErlangTermDecoder, ErlangTermEncoder, Atom

ImportError: No module named erlastic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.