From 00160cdf5c615ec9be3bd186f42378b913df5b26 Mon Sep 17 00:00:00 2001 From: AleaJactaEst Date: Sat, 13 Oct 2018 15:09:59 +0200 Subject: [PATCH] #4 - Add python dependency --- Makefile | 2 +- pymanager/__init__.py | 2 +- requirements.txt | 1 + setup.py | 20 ++++++++++---------- 4 files changed, 13 insertions(+), 12 deletions(-) create mode 100644 requirements.txt diff --git a/Makefile b/Makefile index e311839..d894236 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PYTHONCOVERAGE=`which python3-coverage` DESTDIR=/ BUILDIR=$(CURDIR)/debian/pymanager PROJECT=pymanager -VERSION=1.0.0 +VERSION=1.2.0 #OMIT_COVERGAGE=--omit=/usr/lib/python3/*,tests/* all: diff --git a/pymanager/__init__.py b/pymanager/__init__.py index 24f1f38..8137ec8 100644 --- a/pymanager/__init__.py +++ b/pymanager/__init__.py @@ -17,4 +17,4 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -__version__ = '1.1.0' +__version__ = '1.2.0' diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3efe3c1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +bcrypt >= 3.1.4 diff --git a/setup.py b/setup.py index 29dc308..cfe4a90 100755 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( - name='pymanager', + name='opennel-manager', # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see @@ -55,7 +55,7 @@ setup( long_description=long_description, # The project's main homepage. - url='//git.khaganat.net/khaganat/mmorpg_khanat/opennel-pymanager', + url='https://git.khaganat.net/khaganat/mmorpg_khanat/opennel-pymanager', # Author details author='Aleajactaest', @@ -129,12 +129,12 @@ setup( # To provide executable scripts, use entry points in preference to the # "scripts" keyword. Entry points provide cross-platform support and allow # pip to create the appropriate form of executable for the target platform. - entry_points={ - 'console_scripts': [ - 'opennel_certificate=pymanager.certificate:main', - 'opennel_manager=pymanager.manager:main', - 'opennel_client=pymanager.client:main', - 'opennel_password=pymanager.password:main', - ], - }, +# entry_points={ +# 'console_scripts': [ +# 'opennel_certificate=pymanager.certificate:main', +# 'opennel_manager=pymanager.manager:main', +# 'opennel_client=pymanager.client:main', +# 'opennel_password=pymanager.password:main', +# ], +# }, )