-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from richardstrnad/master
Added Makefile, updated .gitignore
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -10,4 +10,6 @@ Thumbs.db | |
**/leaf-*.html | ||
.venv | ||
venv | ||
dist | ||
*.egg-info/ | ||
.pytest_cache |
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,26 @@ | ||
.PHONY: package | ||
package: | ||
make clean | ||
python setup.py sdist | ||
.PHONY: pypi | ||
pypi: | ||
make clean | ||
python setup.py sdist; twine upload dist/* --skip-existing | ||
.PHONY: clean | ||
clean: | ||
find ./* -name '*.pyc' -exec rm {} \; | ||
find ./* -name '*.so' -exec rm {} \; | ||
find ./* -name '*.coverage' -exec rm {} \; | ||
@# A minus sign prefixing the line means it ignores the return value | ||
-find ./* -path '*__pycache__' -exec rm -rf {} \; | ||
@# remove all the MockSSH keys | ||
-find ./* -name '*.key' -exec rm {} \; | ||
-rm -rf .eggs/ | ||
-rm -rf dist/ aciClient.egg-info/ setuptools* | ||
.PHONY: help | ||
help: | ||
@# An @ sign prevents outputting the command itself to stdout | ||
@echo "help : You figured that out ;-)" | ||
@echo "pypi : Build the project and push to pypi" | ||
@echo "clean : Housecleaning" | ||
@echo "" |
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 |
---|---|---|
@@ -1,12 +1,20 @@ | ||
from setuptools import setup | ||
|
||
# read the contents of your README file | ||
from os import path | ||
this_directory = path.abspath(path.dirname(__file__)) | ||
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
setup(name='aciClient', | ||
version='1.00', | ||
version='1.1', | ||
description='aci communication helper class', | ||
url='http://www.netcloud.ch', | ||
author='mze', | ||
author_email='[email protected]', | ||
license='MIT', | ||
packages=['aciClient'], | ||
install_requires=['requests>=2.25.0 , <3', 'pyOpenSSL>=19.1.0, <20'], | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
zip_safe=False) |