Improve setup.py, add setup.cfg

This commit is contained in:
Jan Dittberner 2016-05-03 12:38:52 +02:00
parent 3004faa366
commit 5a41a8e9b9
3 changed files with 17 additions and 7 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@
.*.swp
.ropeproject/
__pycache__/
build/
dist/

6
setup.cfg Normal file
View File

@ -0,0 +1,6 @@
[egg_info]
tag_build = dev
tag_date = true
[aliases]
release = egg_info -RDb ''

View File

@ -2,30 +2,32 @@
from setuptools import setup, find_packages
from jandd.sphinxext.mac import __version__ as version
version = '0.1.0'
with open('README.rst') as readme:
description = readme.read() + "\n\n"
with open('COPYING') as license:
description += license.read()
requires = ['Sphinx>=1.4']
setup(
author="Jan Dittberner",
author_email="jan@dittberner.info",
description=description,
description="MAC address extension for Sphinx",
long_description=description,
install_requires=requires,
keywords="sphinx extension MAC",
name="jandd.sphinxext.mac",
namespace_packages=['jandd', 'jandd.sphinxext'],
packages=find_packages(),
platforms='any',
version=version,
keywords="sphinx extension MAC",
license="GPLv3+",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Development Status :: 3 - Alpha",
"Framework :: Sphinx :: Extension",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Topic :: Documentation",
"Topic :: Internet",
]
)