Merge branch 'python' of https://github.com/KmolYuan/solvespace into python
commit
bc674db3d3
23
.travis.yml
23
.travis.yml
|
@ -38,16 +38,16 @@ matrix:
|
||||||
- python3 -m pip install -r cython/requirements.txt
|
- python3 -m pip install -r cython/requirements.txt
|
||||||
script: &python-script
|
script: &python-script
|
||||||
- cd cython && python3 setup.py test && cd -
|
- cd cython && python3 setup.py test && cd -
|
||||||
deploy:
|
before_deploy: cd cython
|
||||||
provider: pypi
|
after_success:
|
||||||
user: $TWINE_USERNAME
|
# PyPI deployment
|
||||||
password: $TWINE_PASSWORD
|
- if [[ "$TRAVIS_REPO_SLUG" == "KmolYuan/Pyslvs-UI" && -n "$TRAVIS_TAG" ]]; then
|
||||||
skip_cleanup: true
|
python3 -m pip install auditwheel twine;
|
||||||
skip_existing: true
|
python3 setup.py sdist bdist_wheel;
|
||||||
file: cython/dist/*.whl
|
mkdir dist-new;
|
||||||
on:
|
auditwheel repair dist/*.whl -w dist-new;
|
||||||
repo: KmolYuan/solvespace
|
python3 -m twine upload dist-new/*.whl --skip-existing;
|
||||||
tags: true
|
fi
|
||||||
|
|
||||||
- <<: *linux
|
- <<: *linux
|
||||||
python: "3.7"
|
python: "3.7"
|
||||||
|
@ -75,8 +75,9 @@ matrix:
|
||||||
# PyPI deployment
|
# PyPI deployment
|
||||||
- if [ "$TRAVIS_REPO_SLUG" == "KmolYuan/solvespace" && -n "$TRAVIS_TAG" ]; then
|
- if [ "$TRAVIS_REPO_SLUG" == "KmolYuan/solvespace" && -n "$TRAVIS_TAG" ]; then
|
||||||
python3 -m pip install twine;
|
python3 -m pip install twine;
|
||||||
|
cd cython;
|
||||||
python3 setup.py sdist bdist_wheel;
|
python3 setup.py sdist bdist_wheel;
|
||||||
python3 -m twine upload cython/dist/*.whl --skip-existing;
|
python3 -m twine upload dist/*.whl --skip-existing;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- <<: *osx
|
- <<: *osx
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
|
[![Version](https://img.shields.io/badge/version-3.0.0-yellow.svg)](https://github.com/KmolYuan/solvespace/releases/latest)
|
||||||
[![Build status](https://ci.appveyor.com/api/projects/status/b2o8jw7xnfqghqr5?svg=true)](https://ci.appveyor.com/project/KmolYuan/solvespace)
|
[![Build status](https://ci.appveyor.com/api/projects/status/b2o8jw7xnfqghqr5?svg=true)](https://ci.appveyor.com/project/KmolYuan/solvespace)
|
||||||
[![Build status](https://travis-ci.org/KmolYuan/solvespace.svg)](https://travis-ci.org/KmolYuan/solvespace)
|
[![Build status](https://img.shields.io/travis/KmolYuan/solvespace.svg?logo=travis)](https://travis-ci.org/KmolYuan/solvespace)
|
||||||
![OS](https://img.shields.io/badge/OS-Windows%2C%20Mac%20OS%2C%20Ubuntu-blue.svg)
|
[![PyPI](https://img.shields.io/pypi/v/python-solvespace.svg)](https://pypi.org/project/python-solvespace/)
|
||||||
[![GitHub license](https://img.shields.io/badge/license-GPLv3+-blue.svg)](https://raw.githubusercontent.com/KmolYuan/solvespace/master/LICENSE)
|
[![GitHub license](https://img.shields.io/badge/license-GPLv3+-blue.svg)](https://raw.githubusercontent.com/KmolYuan/solvespace/master/LICENSE)
|
||||||
|
|
||||||
python-solvespace
|
python-solvespace
|
||||||
|
|
|
@ -113,6 +113,7 @@ setup(
|
||||||
author_email=__email__,
|
author_email=__email__,
|
||||||
description="Python library of Solvespace",
|
description="Python library of Solvespace",
|
||||||
long_description=read("README.md"),
|
long_description=read("README.md"),
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
url="https://github.com/solvespace/solvespace",
|
url="https://github.com/solvespace/solvespace",
|
||||||
packages=find_packages(exclude=('tests',)),
|
packages=find_packages(exclude=('tests',)),
|
||||||
package_data={'': ["*.pyi"]},
|
package_data={'': ["*.pyi"]},
|
||||||
|
|
Loading…
Reference in New Issue