diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -5,3 +5,6 @@ syntax: regexp ^\.\# ^\.(project|pydevproject)$ ^\.settings/ +^build/ +^dist/ +^mercurial_keyring\.egg-info/ diff --git a/setup.py b/setup.py new file mode 100644 --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +try: + from setuptools import setup, find_packages +except ImportError: + from ez_setup import use_setuptools + use_setuptools() + from setuptools import setup, find_packages + +setup( + name = "mercurial_keyring", + version = '0.1.0', + author = 'Marcin Kasperski', + author_email = 'Marcin.Kasperski@mekk.waw.pl', + url = 'http://mekk.waw.pl', + description = 'Mercurial Keyring Extension', + long_description = '''mercurial_keyring preserves passwords via keyring (http://pypi.python.org/pypi/keyring) library, using OSX/Keychain, KDE KWallet, Gnome Keyring, or internally supported storage (also on Win32).''', + license = 'BSD', + py_modules = ['mercurial_keyring'], + keywords = "mercurial hg keyring password", + classifiers = [ + 'Development Status :: 4 - Beta', + 'Environment :: Any', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: Any', + 'Topic :: Software Development :: Libraries', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Software Development :: Version Control' + ], + + install_requires = ['keyring'], + zip_safe = True, + )