Commit 38c6fd52 authored by Dr.李's avatar Dr.李

update package structure

parent f19db18e
language: python
python:
- "3.5"
- "3.6"
sudo: false
addons:
apt:
packages:
- gcc
# command to install dependencies
install:
# We do this conditionally because it saves us some downloading if the
# version is the same.
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
# Replace dep1 dep2 ... with your dependencies
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- conda install coverage
- conda install numpy
- conda install numba
- conda install scipy
- conda install pandas
- conda install cython
- conda install scikit-learn
- pip install coveralls
- pip install cvxopt
- pip install cvxpy
# command to run tests
script:
- python setup.py build_ext --inplace
- coverage run --rcfile=./.coveragerc alphamind/tests/test_suite.py
- coverage report --rcfile=./.coveragerc -i
- coverage html --rcfile=./.coveragerc -i
after_success:
- coveralls
\ No newline at end of file
The MIT License (MIT)
Copyright (c) 2017 Cheng Li
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
\ No newline at end of file
include MANIFEST.in
\ No newline at end of file
# Alpha - Mind
\ No newline at end of file
...@@ -14,7 +14,7 @@ from cvxopt import solvers ...@@ -14,7 +14,7 @@ from cvxopt import solvers
solvers.options['glpk'] = {'msg_lev': 'GLP_MSG_OFF'} solvers.options['glpk'] = {'msg_lev': 'GLP_MSG_OFF'}
def linear_build(er: np.np.ndarray, def linear_build(er: np.ndarray,
lbound: np.ndarray, lbound: np.ndarray,
ubound: np.ndarray, ubound: np.ndarray,
risk_exposure: np.ndarray, risk_exposure: np.ndarray,
......
[metadata]
description-file = README.md
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment