Skip to content

Commit

Permalink
Merge pull request #4 from richardstrnad/master
Browse files Browse the repository at this point in the history
Added Makefile, updated .gitignore
  • Loading branch information
andreasgraber authored Jan 19, 2021
2 parents 71d8103 + 70d4a0b commit ce9fd7f
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ Thumbs.db
**/leaf-*.html
.venv
venv
dist
*.egg-info/
.pytest_cache
26 changes: 26 additions & 0 deletions Makefile
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 ""
10 changes: 9 additions & 1 deletion setup.py
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)

0 comments on commit ce9fd7f

Please sign in to comment.