-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move data from setup.py to setup.cfg
- Loading branch information
Showing
2 changed files
with
22 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
|
@@ -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'} | ||
) |