Преглед на файлове

update setup.py and Manifest

 * add build_manpage
 * add keywords
oz123 преди 10 години
родител
ревизия
bf3015fc35
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 1 0
      MANIFEST.in
  2. 3 4
      setup.py

+ 1 - 0
MANIFEST.in

@@ -1,4 +1,5 @@
 include ChangeLog
+include build_manpage.py
 include documentation/*
 include documentation/man_page/*
 include pwman/ui/templates/*

+ 3 - 4
setup.py

@@ -18,7 +18,7 @@ def describe():
     des = Popen('git describe', shell=True, stdout=PIPE)
     ver = des.stdout.readlines()
     if ver:
-        return ver[0].strip().decode('utf-8')
+        return ver[0].strip()
     else:
         return pwman.version
 
@@ -46,12 +46,11 @@ class PyCryptoInstallCommand(install):
                    'to install pycrypto ...'))
 
 if 'win' in sys.platform:
-    test_requirements =  None
+    test_requirements = None
 else:
     test_requirements = ['pexpect']
 
 
-
 setup(name=pwman.appname,
       version=describe(),
       description=pwman.description,
@@ -72,6 +71,7 @@ setup(name=pwman.appname,
       zip_safe=False,
       install_requires=['pycrypto>=2.6',
                         'colorama>=0.2.4'],
+      keywords="password-manager crypto cli",
       classifiers=[
           'Environment :: Console',
           'Intended Audience :: End Users/Desktop',
@@ -88,5 +88,4 @@ setup(name=pwman.appname,
           'install_pycrypto': PyCryptoInstallCommand,
           'build_manpage': BuildManPage
       }
-
       )