Skip to content

Commit

Permalink
Move data from setup.py to setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Kentzo committed Mar 17, 2017
1 parent 6c9b458 commit 00a229c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 29 deletions.
21 changes: 20 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,23 @@
universal = 1

[metadata]
description-file = README.rst
name = git-archive-all
author = Ilya Kulakov
author_email = [email protected]
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
30 changes: 2 additions & 28 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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="[email protected]",
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'}
)

0 comments on commit 00a229c

Please sign in to comment.