Skip to content

Commit b8068af

Browse files
committed
no message
1 parent af81c06 commit b8068af

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

script/package

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
python setup.py sdist bdist_wheel

setup.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import setuptools
1+
from setuptools import setup, find_packages
22

33
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#setup-args
4-
setuptools.setup(name='netlicensing-python-client',
5-
version='0.0.2',
4+
setup(name='netlicensing-python-client',
5+
version='0.0.1',
66
description='Python wrapper for Labs64 NetLicensing RESTful API',
77
long_description=open('README.md').read().strip(),
88
long_description_content_type="text/markdown",
@@ -18,7 +18,9 @@
1818
'CI': 'https://github.com/Labs64/NetLicensingClient-python/actions',
1919
},
2020
py_modules=['netlicensing'],
21-
install_requires=[],
21+
include_package_data=True,
22+
install_requires=['requests'],
23+
packages=find_packages(),
2224
license='Apache-2.0',
2325
zip_safe=False,
2426
keywords='labs64 netlicensing licensing licensing-as-a-service license license-management software-license client restful restful-api python wrapper api client',

tests/test_about.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest
22

33
def test_about(netlicensing):
4-
netlicensing.about()
4+
about_text = netlicensing.about()
5+
assert u'LaaS' in about_text

0 commit comments

Comments
 (0)