Commits

Anonymous committed 795cf64

fix typo, add installation doc and cleanup some small things

  • Participants
  • Parent commits 2508c56

Comments (0)

Files changed (4)

      coverage
      ipdb
      pypi
-extra-path = /Users/marrakis/Documents/cyrilrbt.pypi/envs/lib/python2.6/site-packages/distutils2/
+extra-path = $(buildout:dir)/envs/lib/python2.6/site-packages/distutils2/
 
 [nose]
 recipe = pbp.recipe.noserunner
+Development
+===========
+
+dependecies
+-----------
+* virtualenv
+* a working copy of the distutils2 sourcecode 
+  (for now cause we can't install it with easy_install naturally)
+* postgresql and libpostgresql-dev
+
+zc.buildout
+-----------
+ $ cd <pypi dir>
+ $ virtualenv envs --no-site-packages
+ $ source envs/bin/activate
+ $ python <distutils2 dir> install
+ $ python boostrap.py
+ $ bin/buildout -vvv
+
+configuration
+-------------
+ Checkout the config.ini script. This file represent the earth of the 
+ configuration of your PyPi installation. You have to make sure::
+
+ * There is already a database named "packaged" inside your db
+ * The using running PyPi needed to be able to have full right on the 
+   "packages" database.
+ * You may need to fix some url and paths depending your installation
+
+Running
+-------
+
+ $ cd <pypi dir>
+ $ bin/paster serve development.ini
+ 
 
         # extract the Trove classifiers
         classifiers = info.get('classifiers', [])
+        classifiers.sort()
 
         # now see if we're inserting or updating a release
         message = None

tests/data/PKG-INFO

+Metadata-Version: 1.2
+Name: CLVault
+Version: 0.5
+Summary: Command-Line utility to store and retrieve passwords
+Home-page: http://bitbucket.org/tarek/clvault
+Author: Tarek Ziade
+Author-email: tarek@ziade.org
+License: PSF
+Keywords: keyring,password,crypt
+Requires-Dist: foo; sys.platform == 'okook'
+Requires-Dist: bar; sys.platform == '%s'
+Platform: UNKNOWN
+Description: CLVault
+       |=======
+       |
+       |CLVault uses Keyring to provide a command-line utility to safely store
+       |and retrieve passwords.
+       |
+       |Install it using pip or the setup.py script::
+       |
+       |    $ python setup.py install
+       |
+       |    $ pip install clvault
+       |
+       |Once it's installed, you will have three scripts installed in your
+       |Python scripts folder, you can use to list, store and retrieve passwords::
+       |
+       |    $ clvault-set blog
+       |    Set your password:
+       |    Set the associated username (can be blank): tarek
+       |    Set a description (can be blank): My blog password
+       |    Password set.
+       |
+       |    $ clvault-get blog
+       |    The username is "tarek"
+       |    The password has been copied in your clipboard
+       |
+       |    $ clvault-list
+       |    Registered services:
+       |    blog    My blog password
+       |
+       |
+       |*clvault-set* takes a service name then prompt you for a password, and some
+       |optional information about your service. The password is safely stored in
+       |a keyring while the description is saved in a ``.clvault`` file in your
+       |home directory. This file is created automatically the first time the command
+       |is used.
+       |
+       |*clvault-get* copies the password for a given service in your clipboard, and
+       |displays the associated user if any.
+       |
+       |*clvault-list* lists all registered services, with their description when
+       |given.
+       |
+       |
+       |Project page: http://bitbucket.org/tarek/clvault
+       |