Replace setup.py
contents with setup.cfg
This commit is contained in:
parent
de7e9cbac9
commit
22306c2de6
29
setup.cfg
Normal file
29
setup.cfg
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
[metadata]
|
||||
name = rattail-nationbuilder
|
||||
version = attr: rattail_nationbuilder.__version__
|
||||
author = Lance Edgar
|
||||
author_email = lance@edbob.org
|
||||
url = https://rattailproject.org/
|
||||
license = GNU GPL v3
|
||||
description = Rattail integration package for NationBuilder
|
||||
long_description = file: README.md
|
||||
classifiers =
|
||||
Development Status :: 4 - Beta
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
||||
Natural Language :: English
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3
|
||||
Topic :: Office/Business
|
||||
Topic :: Software Development :: Libraries :: Python Modules
|
||||
|
||||
|
||||
[options]
|
||||
install_requires =
|
||||
rattail
|
||||
|
||||
packages = find:
|
||||
include_package_data = True
|
46
setup.py
46
setup.py
|
@ -24,48 +24,6 @@
|
|||
rattail-nationbuilder setup script
|
||||
"""
|
||||
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
exec(open(os.path.join(here, 'rattail_nationbuilder', '_version.py')).read())
|
||||
README = open(os.path.join(here, 'README.md')).read()
|
||||
|
||||
|
||||
setup(
|
||||
name = "rattail-nationbuilder",
|
||||
version = __version__,
|
||||
author = "Lance Edgar",
|
||||
author_email = "lance@edbob.org",
|
||||
url = "https://rattailproject.org/",
|
||||
license = "GNU GPL v3",
|
||||
description = "Rattail integration package for NationBuilder",
|
||||
long_description = README,
|
||||
|
||||
classifiers = [
|
||||
'Development Status :: 4 - Beta',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||
'Natural Language :: English',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Topic :: Office/Business',
|
||||
'Topic :: Software Development :: Libraries :: Python Modules',
|
||||
],
|
||||
|
||||
install_requires = [
|
||||
'rattail',
|
||||
|
||||
# TODO: these may be needed to build/release package
|
||||
#'build',
|
||||
#'invoke',
|
||||
#'twine',
|
||||
],
|
||||
packages = find_packages(),
|
||||
include_package_data = True,
|
||||
|
||||
entry_points = {
|
||||
},
|
||||
)
|
||||
setup()
|
||||
|
|
Loading…
Reference in a new issue