Skip to content

Commit

Permalink
Create python package from japi class
Browse files Browse the repository at this point in the history
  • Loading branch information
rhea-machine committed Sep 2, 2019
1 parent 39989cf commit 4440424
Show file tree
Hide file tree
Showing 7 changed files with 723 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
__pycache__
*.pyc
*.swp
*.egg
jelapi.egg-info/
.mypy_cache/
build/
dist/
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# jelapi

A Jelastic API Python library
3 changes: 0 additions & 3 deletions __init__.py

This file was deleted.

5 changes: 5 additions & 0 deletions jelapi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# JelasticAPI

__version__ = "0.0.1"

from .jelapi import JelasticAPI, JelasticAPIException
File renamed without changes.
33 changes: 33 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env python3

from setuptools import find_packages, setup
from jelapi import __version__

install_requires = ["requests>=2.16.0"]

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="jelapi",
version=__version__,
author="Didier Raboud",
author_email="[email protected]",
license="GPLv3+",
description="jelapi: A Jelastic API Python library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/liip/jelapi",
packages=find_packages(),
install_requires=["requests>=2.16.0"],
classifiers=[
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Software Development :: Libraries",
"Development Status :: 4 - Beta",
],
python_requires=">=3.6",
)

0 comments on commit 4440424

Please sign in to comment.