diff --git a/papyrus.py b/papyrus.py index 74efe1f..39a1276 100644 --- a/papyrus.py +++ b/papyrus.py @@ -3,7 +3,8 @@ papyrus ~~~~~~~ - A simple cmd program that manage the infomation of passwords. + A safely (use AES256 encrypt/decrypt) simple cmd program that manage + the infomation of passwords. :copyright: (c) 2012 by Jason Lai. :license: BSD, see LICENSE for more details. @@ -216,7 +217,9 @@ def decrypt(cls, ciphertext, key): class Papyrus(cmd.Cmd): - """A simple cmd program that manage the infomation of passwords.""" + """A safely (use AES256 encrypt/decrypt) simple cmd program that manage + the infomation of passwords. + """ prompt = u'(papyrus) >>> ' intro = ("Papyrus: A simple cmd program that manage the infomation of " @@ -281,4 +284,3 @@ def do_EOF(self, line): if __name__ == '__main__': Papyrus().cmdloop() - diff --git a/setup.py b/setup.py index c8174e6..ab74ac8 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,33 @@ # -*- coding:utf-8 -*- -__version__ = "0.3.1" +__version__ = "0.3" __author__ = [ "Jason Lai " ] + + +from setuptools import setup + + +setup(name='papyrus', + version=__version__, + description='A safely (use AES256 encrypt/decrypt) simple cmd program that manage the infomation of passwords.', + author='Jason Lai', + author_email='jasonlai256@gmail.com', + url='TODO ----- github', + py_modules=['papyrus'], + license="BSD", + install_requires=[ + 'pycrypto', + ] + platforms=["any"], + classifiers=[ + 'Environment :: Console', + 'Intended Audience :: End Users/Desktop', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Office/Business :: Scheduling' + ], + test_suite='test_papyrus' +) diff --git a/papyrus_test.py b/test_papyrus.py similarity index 100% rename from papyrus_test.py rename to test_papyrus.py