Giter Club home page Giter Club logo

commandment's People

Contributors

jessepeterson avatar mosen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

commandment's Issues

Flask fails to install on setup.py

Error:
Installed /Users/local/Desktop/mdm/commandment/env/lib/python3.6/site-packages/Flask_REST_JSONAPI-0.13.2-py3.6.egg
error: The 'Flask' distribution was not found and is required by commandment, flask-marshmallow, Flask-OAuthlib

Changing "Flask" to "flask" in the setup.py install_requires fixes it.

Contact me?

Hi there,

I have a question / offer for you for this project. Can you please reach out to me at [email protected]? You can nuke this after .... Thanks!

Spencer

Error Enrolling Device

I had successfully setup server with an SSL installed, but when i tap on enroll device, I get the following error,

File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib64/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/opt/Commandment-MDM/commandment/commandment/mdm.py", line 124, in enroll
push_cert = config.push_cert.to_x509(cert_type=PushCertificate)
AttributeError: 'NoneType' object has no attribute 'to_x509'

i have uploaded valid push certificate and key, anyone got he same issue?

i have attached screenshot
img_0441 2

pipenv install fails

pipenv install fails please help.

pipenv, version 2018.7.1
Rover:commandment-master adarsh$ pipenv install
Warning: the environment variable LANG is not set!
We recommend setting this in ~/.profile (or equivalent) for proper expected behavior.
Creating a virtualenv for this project...
Pipfile: /Users/one/Desktop/ram/commandment-master/Pipfile
Using /usr/local/opt/python/bin/python3.7 (3.7.0) to create virtualenv...
⠋Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/site-packages/pipenv/pew/main.py", line 8, in
import pew
File "/usr/local/lib/python3.7/site-packages/pipenv/patched/pew/init.py", line 3, in
from . import pew
File "/usr/local/lib/python3.7/site-packages/pipenv/patched/pew/pew.py", line 44, in
from pew._utils import (check_call, invoke, expandpath, own, env_bin_dir,
File "/usr/local/lib/python3.7/site-packages/pipenv/patched/pew/_utils.py", line 25, in
encoding = locale.getlocale()[1] or 'ascii'
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/locale.py", line 587, in getlocale
return _parse_localename(localename)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/locale.py", line 495, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8

Virtualenv location:
Installing -e git+https://github.com/cmdmnt/bixar.git#egg=bixar...
Traceback (most recent call last):
File "/usr/local/bin/pipenv", line 11, in
sys.exit(cli())
File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pipenv/cli.py", line 435, in install
selective_upgrade=selective_upgrade,
File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1971, in do_install
pypi_mirror=pypi_mirror,
File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1445, in pip_install
quoted_pip = which_pip(allow_global=allow_global)
File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 1502, in which_pip
return which('pip')
File "/usr/local/lib/python3.7/site-packages/pipenv/core.py", line 115, in which
p = os.path.join(location, 'bin', command)
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/posixpath.py", line 80, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Installation issue

I'm new to python language. I'm trying to generate mdm push certificate using the steps given in http://cmdmnt.github.io/commandment/. I couldnt understand this step.

TODO visit /apns/mdmcert using the web ui to request a new CSR.

There is a mdmcert.py script in that dir. Running that script gave a lot of ModuleNotFoundErrors. After installing all necessary tools like flask, chardet, idna...., it shows

ModuleNotFoundError: No module named 'commandment.mdm'

what do i do?

No requirements.txt file

The documentation says to install dependencies from requirements.txt but there isn't a requirements.txt file.

Not able to install mysqlclient

Hi, we are trying to use commandment with mysql backend and got hit by dependency wall on master branch. Can someone help us on this?

root@6b9e579bacba:/commandment# pipenv install mysqlclient
Creating a virtualenv for this project…
Pipfile: /commandment/Pipfile
Using /usr/local/bin/python (3.6.8) to create virtualenv…
⠴ Creating virtual environment...Already using interpreter /usr/local/bin/python
Using base prefix '/usr/local'
New python executable in /root/.local/share/virtualenvs/commandment-AnSLSBwU/bin/python
Installing setuptools, pip, wheel...
done.

✔ Successfully created virtual environment! 
Virtualenv location: /root/.local/share/virtualenvs/commandment-AnSLSBwU
Installing mysqlclient…
Adding mysqlclient to Pipfile's [packages]…
✔ Installation Succeeded 
Pipfile.lock (b0d83f) out of date, updating to (826128)…
Locking [dev-packages] dependencies…
✘ Locking Failed! 
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/resolver.py", line 69, in resolve
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches oauthlib!=2.0.3,!=2.0.4,!=2.0.5,<3.0.0,>=1.1.2,>=3.0.0
[pipenv.exceptions.ResolutionFailure]:       Tried: 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.3.0, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0.post1, 1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.7, 2.1.0, 2.1.0, 3.0.0, 3.0.0, 3.0.1, 3.0.1
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches oauthlib!=2.0.3,!=2.0.4,!=2.0.5,<3.0.0,>=1.1.2,>=3.0.0
Tried: 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.3.0, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0.post1, 1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.7, 2.1.0, 2.1.0, 3.0.0, 3.0.0, 3.0.1, 3.0.1
There are incompatible versions in the resolved dependencies.
[pipenv.exceptions.ResolutionFailure]:       req_dir=requirements_dir
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 726, in resolve_deps
[pipenv.exceptions.ResolutionFailure]:       req_dir=req_dir,
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 480, in actually_resolve_deps
[pipenv.exceptions.ResolutionFailure]:       resolved_tree = resolver.resolve()
[pipenv.exceptions.ResolutionFailure]:   File "/usr/local/lib/python3.6/site-packages/pipenv/utils.py", line 395, in resolve
[pipenv.exceptions.ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]:       pipenv.exceptions.ResolutionFailure: ERROR: ERROR: Could not find a version that matches oauthlib!=2.0.3,!=2.0.4,!=2.0.5,<3.0.0,>=1.1.2,>=3.0.0
[pipenv.exceptions.ResolutionFailure]:       Tried: 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.3.0, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0.post1, 1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.7, 2.1.0, 2.1.0, 3.0.0, 3.0.0, 3.0.1, 3.0.1
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ERROR: Could not find a version that matches oauthlib!=2.0.3,!=2.0.4,!=2.0.5,<3.0.0,>=1.1.2,>=3.0.0
Tried: 0.0.1, 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.3.0, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.7.0, 0.7.1, 0.7.2, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0.post1, 1.1.1, 1.1.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.7, 2.1.0, 2.1.0, 3.0.0, 3.0.0, 3.0.1, 3.0.1
There are incompatible versions in the resolved dependencies.

Registration takes forever

I have hosted the application on AWS server and am trying to add the certificates. On doing so nothing happens, the server keeps waiting for response and the certificates never get added. Any solution?

Testing SCEP functionality

Hello Jesse,

I have configured Commandment on Windows 7 successfully, created Web Server Certificate and APNS certificate.

Query:
Is SCEP functionality is implemented in this project?
If yes than how to test it please provide steps.

runserver.py

Installed commandment yesterday (3 Jan 2018), using Python 3.7.2 on Windows. Documentation says to start the MDM by running runserver.py. Where is this file, or really the question is how to start the MDM?

Frontend showing directory listing, not app

When I start the frontend, it shows the directory listing, not the application.
I dont know if this is related, but the log shows this error:

Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!sass/app.scss:
     21 assets
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
     [0] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
     [1] ./node_modules/css-loader/dist/runtime/url-escape.js 460 bytes {0} [built]
     [2] ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.eot 88 bytes {0} [built]
     [3] ./node_modules/semantic-ui-css/themes/default/assets/fonts/outline-icons.eot 88 bytes {0} [built]
     [4] ./node_modules/semantic-ui-css/themes/default/assets/fonts/brand-icons.eot 88 bytes {0} [built]
     [5] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./sass/app.scss 41.1 KiB {0} [built]
     [6] ./node_modules/css-loader/dist/cjs.js!./node_modules/semantic-ui-css/semantic.min.css 622 KiB {0} [built]
     [7] ./node_modules/semantic-ui-css/themes/default/assets/images/flags.png 95 bytes {0} [built]
     [8] ./node_modules/semantic-ui-css/themes/default/assets/fonts/icons.woff2 90 bytes {0} [built]
    [20] ./node_modules/css-loader/dist/cjs.js!./node_modules/react-table/react-table.css 8.52 KiB {0} [built]
    [21] ./node_modules/font-awesome/fonts/fontawesome-webfont.eot 88 bytes {0} [built]
    [22] ./node_modules/font-awesome/fonts/fontawesome-webfont.woff2 90 bytes {0} [built]
    [23] ./node_modules/font-awesome/fonts/fontawesome-webfont.woff 89 bytes {0} [built]
    [24] ./node_modules/font-awesome/fonts/fontawesome-webfont.ttf 88 bytes {0} [built]
    [25] ./node_modules/font-awesome/fonts/fontawesome-webfont.svg 165 bytes {0} [built]
        + 11 hidden modules
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!src/components/Navigation.scss:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./src/components/Navigation.scss 142 bytes {0} [built]
    [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/dist/cjs.js!node_modules/resolve-url-loader/index.js!node_modules/sass-loader/lib/loader.js?sourceMap!src/components/devices/MacOSDeviceDetail.scss:
    Entrypoint undefined = extract-text-webpack-plugin-output-filename
    [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js?sourceMap!./src/components/devices/MacOSDeviceDetail.scss 228 bytes {0} [built]
    [1] ./node_modules/css-loader/dist/runtime/api.js 2.35 KiB {0} [built]

Any idea how to solve this issue?

Authentication via SSO

There is currently no authentication. Auth should be provided to access protected resources in the API via SSO. Flask-OAuthlib already provides an OAuth2 service, but this may be overkill.

Document support

Please provide commands to obtain necessary certificates using certhelper (mdmcert.download)

SCEP testing...

Hello Jesse,

I have configured Commandment on Windows 7 successfully, created Web Server Certificate and APNS certificate.

Query:
Is SCEP functionality is implemented in this project?
If yes than how to test it please provide steps.

cannot install

when i trying to install flowing error appears:
Installed /usr/local/lib/python3.5/dist-packages/commandment-0.1-py3.5.egg
Processing dependencies for commandment==0.1
error: cryptography 1.2.3 is installed but cryptography>=2.2.1 is required by {'PyOpenSSL'}
how to resolve this error?

Wrong dependency versions

Running python setup.py install returns the following error

error: marshmallow 3.0.0b10 is installed but marshmallow==2.13.1 is required by {'Flask-REST-JSONAPI'}

Execute script on MacOS on push notification

Hello Jesse, does the current implementation allow me to send push notifications to MacOS devices to trigger a script/application to execute or reply? Or would I need to have an approved app in the app store to receive these push notifications?
Thanks!

Can't install commandment (cryptography fails)

commandment 0.1 has requirement cryptography==2.1.4, but you'll have cryptography 2.2.2 which is incompatible.

pyopenssl 18.0.0 has requirement cryptography>=2.2.1, but you'll have cryptography 2.1.4 which is incompatible.

How to make it works? I mean how to install commandment?

ps: also doc says
"pip install -r ./requirements.txt"
but there is no such file.

nginx errors

Blank page, and errors in the logs
help me please

2021/01/24 18:47:38 [error] 28634#28634: *305 open() "/var/www/commandment/commandment/static/app.js" failed (2: No such file or directory), client: 91.103.205.85, server: , request: "GET /static/app.js HTTP/1.1", host: "mdm.mydomain.pro", referrer: "https://mdm.mydomain.pro/"
2021/01/24 18:47:38 [error] 28634#28634: *306 open() "/var/www/commandment/commandment/static/css/app.css" failed (2: No such file or directory), client: 91.103.205.85, server: , request: "GET /static/css/app.css HTTP/1.1", host: "mdm.mydomain.pro", referrer: "https://mdm.mydomain.pro/"

Error install

Hello jesse
It shows me the following error when installing, I am working on El Capitan as a server. I hope you can help me

unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1


Failed building wheel for M2Crypto
Running setup.py clean for M2Crypto
Failed to build M2Crypto
Installing collected packages: M2Crypto, idna, pycparser, cffi, ipaddress, asn1crypto, enum34, cryptography, pyOpenSSL, itsdangerous, click, Werkzeug, MarkupSafe, Jinja2, Flask, SQLAlchemy, apns, oauthlib, passlib, biplist
Running setup.py install for M2Crypto ... error
Complete output from command /Users/appletv.admin/commandment/commandment-venv/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/jd/ysmqvr0j5ss1y9rd5syvvqdc0000gq/T/pip-build-haok9p/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/jd/ysmqvr0j5ss1y9rd5syvvqdc0000gq/T/pip-hHZQFw-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/appletv.admin/commandment/commandment-venv/include/site/python2.7/M2Crypto:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.11-intel-2.7
creating build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/init.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/ASN1.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/BIO.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/BN.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/callback.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/DH.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/DSA.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/EC.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/Engine.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/Err.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/EVP.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/m2.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/m2urllib2.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/Rand.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/RC4.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/RSA.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/threading.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/util.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
copying M2Crypto/X509.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto
creating build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
copying M2Crypto/PGP/init.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/PGP
creating build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/init.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.macosx-10.11-intel-2.7/M2Crypto/SSL
running build_ext
building 'M2Crypto.__m2crypto' extension
swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
swig -python -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/usr/include -includeall -modern -builtin -outdir build/lib.macosx-10.11-intel-2.7/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1

----------------------------------------

Command "/Users/appletv.admin/commandment/commandment-venv/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/jd/ysmqvr0j5ss1y9rd5syvvqdc0000gq/T/pip-build-haok9p/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/jd/ysmqvr0j5ss1y9rd5syvvqdc0000gq/T/pip-hHZQFw-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/appletv.admin/commandment/commandment-venv/include/site/python2.7/M2Crypto" failed with error code 1 in /private/var/folders/jd/ysmqvr0j5ss1y9rd5syvvqdc0000gq/T/pip-build-haok9p/M2Crypto/

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.