diff --git a/setup.cfg b/setup.cfg index 9b7063c..7f17644 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,4 +2,23 @@ universal = 1 [metadata] -description-file = README.rst +name = git-archive-all +author = Ilya Kulakov +author_email = kulakov.ilya@gmail.com +url = https://github.com/Kentzo/git-archive-all +description = Archive git repository with its submodules. +license = MIT License +classifiers = + Development Status :: 5 - Production/Stable + Environment :: Console + Intended Audience :: Developers + Intended Audience :: System Administrators + License :: OSI Approved :: MIT License + Natural Language :: English + Programming Language :: Python :: 2.6 + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 + Topic :: Software Development :: Version Control + Topic :: System :: Archiving +platforms = any +long_description = file: README.rst diff --git a/setup.py b/setup.py index 0d1e446..3257e9e 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,5 @@ import re -try: - from setuptools import setup -except ImportError: - from distutils.core import setup - +from setuptools import setup # Parse the version from the file. verstrline = open('git_archive_all.py', "rt").read() @@ -15,29 +11,7 @@ raise RuntimeError("Unable to find version string in git_archive_all.py") setup( - name='git-archive-all', version=verstr, - description='Archive git repository with its submodules.', - author='Ilya Kulakov', - author_email="kulakov.ilya@gmail.com", - url='https://github.com/Kentzo/git-archive-all', py_modules=['git_archive_all'], - entry_points=""" - [console_scripts] - git-archive-all=git_archive_all:main - """, - license="MIT License", - classifiers=[ - 'Development Status :: 5 - Production/Stable', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'Intended Audience :: System Administrators', - 'License :: OSI Approved :: MIT License', - 'Natural Language :: English', - 'Programming Language :: Python :: 2.6', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3', - 'Topic :: Software Development :: Version Control', - 'Topic :: System :: Archiving' - ] + entry_points={'console_scripts': 'git-archive-all=git_archive_all:main'} )