Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Build on various OS's and fix vulnerabilities #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gabefair
Copy link

@gabefair gabefair commented Dec 18, 2019

Node install now works on the following tested operating systems:

  1. Windows 10 x64
  2. WSL Ubuntu 18.10 x64
  3. Mac High Sierra x64
  4. Ubuntu Desktop 16.04 x64
  5. Ubuntu Server 18.04 ARM

Weirdly, chissl utility functions in python-chissl/chissl/util were not being seen during python import. Various methods were tried but different results would happen on different os's.
Finally what worked was removing the util folder and adding the following code to the server.py file:

if __package__ is None or __package__ == '':
    # uses current directory visibility
    import chissl_mongo as cm
else:
    # uses current package visibility
    from . import chissl_mongo as cm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant