-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anton Benkevich
committed
Jun 7, 2020
1 parent
67fb0bb
commit a38f1cc
Showing
5 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
language: python | ||
python: | ||
- 3.8 | ||
- 3.7 | ||
install: pip install -U tox-travis | ||
script: tox | ||
deploy: | ||
provider: pypi | ||
distributions: sdist bdist_wheel | ||
user: alertlogic | ||
password: | ||
secure: 1Y4wOV54F50M1X/6HQnSKf6sAVptK0vurXF2psQh/PwyqQy97jyVJmZvrEPeRJwjTx2zKO7+rvyKC8l/dJkI58l6XYlz/aFZwL4RXICNdcLQiEKcxd6rXfhB9wZZ+kr1CsX/cJYRgTJMGnVIx3wDo3FV3zHykDUS4WZTcbw1VlDT5ji4fcjbKtlKhyd3eRp3CnGdiDJ8d40Qw14gb8ys++PDJR+DPPNlTS3EFM2y9x/+UTCBg1GzckK+9NZXfLxkYJkSv514lFxjEzGbPY2V02z69yyH2zz/lOYh7hCRWSC2PrhIu/Q6K5w+7u8GZTR+ZBpjQuMhrtGmtFYHIkKNMvEIgRmnDVlR4SaThXpCBfbLBeceC2wT1RFegmUj8g4Wrq/kINBvY18sKtd/93Bgl6kdUxJiSHBMLtYifGeEn8eogkyys90E5a3U8FWHVhq4+6Q5IE9+idjzVS28sv+16V8M1XMmxvDhxBFbOP+XBKYJQyX9MEM2hnWlN7Q7QyFGdBpXdwkDl/DBTzN5JBRsyEivSWA485VCXoIhOlQ4ogpamekEDSw4SyOaAmsSb8o+i0ooc6TU8hmHb/kxX3uhovHJZnKUdG/cd1eecy3MTYVpvRCnaIRlcPIEKfc5TI/RBg7lNO9H4G5hmjJhYFBTEYOKLmlQoJSpUv3xHF0xRTwo= | ||
on: | ||
tags: true | ||
repo: anton-b/alertlogic-sdk-definitions | ||
python: 3.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "alsdkdefs/version.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[metadata] | ||
description-file = README.md | ||
|
||
[pycodestyle] | ||
ignore = W601 | ||
max-line-length = 120 | ||
filename = *.py, alertlogic-sdk-definitions | ||
exclude = build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
from setuptools import setup, find_packages | ||
|
||
with open('README.md') as readme_file: | ||
readme = readme_file.read() | ||
|
||
requirements = [] | ||
|
||
setup( | ||
name='alertlogic-sdk-definitions', | ||
use_scm_version=True, | ||
setup_requires=['setuptools_scm'], | ||
url='https://github.com/alertlogic/alertlogic-sdk-definitions', | ||
license='MIT license', | ||
author='Alert Logic Inc.', | ||
author_email='[email protected]', | ||
python_requires='>=3.7', | ||
classifiers=[ | ||
'Development Status :: 3 - Alpha', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Natural Language :: English', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8' | ||
], | ||
description='The Alert Logic API definitions.', | ||
long_description=readme, | ||
long_description_content_type='text/markdown', | ||
entry_points = { | ||
'console_scripts': [ | ||
'alcli = alcli.alertlogic_cli:main' | ||
] | ||
}, | ||
scripts=[], | ||
packages=find_packages(exclude=['contrib', 'docs', 'tests*', 'troubleshooting']), | ||
include_package_data=True, | ||
zip_safe=False, | ||
platforms='any', | ||
install_requires=requirements, | ||
extras_require={ | ||
'dev': [ | ||
'pytest>=3', | ||
'mock>=2.0.0', | ||
'httpretty>=0.8.14', | ||
'pycodestyle>=2.3.1' | ||
], | ||
}, | ||
keywords=['alcli', 'almdr', 'alsdkdefs', 'alertlogic', 'alertlogic-cli'] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[tox] | ||
envlist = py38, flake8 | ||
|
||
[travis] | ||
python = | ||
3.8: py38 | ||
|
||
[testenv:flake8] | ||
basepython = python | ||
deps = flake8 | ||
commands = flake8 alsdkdefs | ||
|
||
[testenv] | ||
setenv = | ||
PYTHONPATH = {toxinidir} | ||
|
||
commands = python setup.py test |