From 6d01f9ffee7f01522cf256b6179bc4b7e137208d Mon Sep 17 00:00:00 2001 From: antislash21 Date: Mon, 25 Mar 2019 15:07:09 +0100 Subject: [PATCH] Create module directory and add setup.py to project. --- setup.py | 29 +++++++++++++++++++ tiramisu_cmdline_parser/__init__.py | 4 +++ .../tiramisu_cmdline_parser.py | 0 3 files changed, 33 insertions(+) create mode 100644 setup.py create mode 100644 tiramisu_cmdline_parser/__init__.py rename tiramisu_cmdline_parser.py => tiramisu_cmdline_parser/tiramisu_cmdline_parser.py (100%) diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..71b5174 --- /dev/null +++ b/setup.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +from setuptools import setup, find_packages + +import tiramisu_cmdline_parser + +setup( + name='tiramisu_cmdline_parser', + version=tiramisu_cmdline_parser.__version__, + packages=find_packages(), + author="Emmanuel Garette & Tiramisu Team", + description="command-line parser using Tiramisu.", + long_description=""" + Python3 parser for command-line options and arguments using Tiramisu engine. + """, + include_package_data=True, + url='https://framagit.org/tiramisu/tiramisu-cmdline-parser', + + classifiers=[ + "Programming Language :: Python", + "Development Status :: 1 - Planning", + "License :: LGPLv3", + "Natural Language :: French", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "Topic :: Communications", + ], +) diff --git a/tiramisu_cmdline_parser/__init__.py b/tiramisu_cmdline_parser/__init__.py new file mode 100644 index 0000000..978c1a4 --- /dev/null +++ b/tiramisu_cmdline_parser/__init__.py @@ -0,0 +1,4 @@ +from .tiramisu_cmdline_parser import TiramisuCmdlineParser + +__version__ = "0.0.1" +__all__ = ('TiramisuCmdlineParser',) diff --git a/tiramisu_cmdline_parser.py b/tiramisu_cmdline_parser/tiramisu_cmdline_parser.py similarity index 100% rename from tiramisu_cmdline_parser.py rename to tiramisu_cmdline_parser/tiramisu_cmdline_parser.py