From c3119b4a4df7279792400c19affe263cc470eb95 Mon Sep 17 00:00:00 2001 From: l-n-s Date: Fri, 1 Jun 2018 06:07:18 -0400 Subject: [PATCH] Start Pip packaging --- cli => pbincli/cli.py | 0 setup.py | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) rename cli => pbincli/cli.py (100%) create mode 100644 setup.py diff --git a/cli b/pbincli/cli.py similarity index 100% rename from cli rename to pbincli/cli.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..31667cf --- /dev/null +++ b/setup.py @@ -0,0 +1,34 @@ +#!/usr/bin/env python + +from setuptools import setup + +with open("README.md") as readme: + long_description = readme.read() + +with open("requirements.txt") as f: + install_requires = f.read().split() + +setup( + name='PBinCLI', + version='0.1', + description='PrivateBin client for command line', + long_description=long_description, + author='R4SAS', + author_email='r4sas@i2pmail.org', + url='https://github.com/r4sas/PBinCLI', + keywords='privatebin', + license='MIT', + classifiers=[ + 'Development Status :: 4 - Beta', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Environment :: Console', + ], + packages=['pbincli'], + install_requires=install_requires, + entry_points={ + 'console_scripts': [ + 'pbincli=pbincli.cli:main', + ], + } +)