Merge branch 'Code0x58-releases'
Closes #2 Conflicts: setup.py (PR #1 aka #102) Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
This commit is contained in:
commit
70bec38546
6 changed files with 99 additions and 113 deletions
28
setup.py
28
setup.py
|
|
@ -9,17 +9,36 @@ except ImportError:
|
|||
from distutils.core import setup
|
||||
|
||||
if sys.argv[-1] == 'publish':
|
||||
os.system('python3 setup.py sdist upload')
|
||||
os.system('python setup.py bdist_wheel --universal upload')
|
||||
sys.exit()
|
||||
|
||||
packages = ['colout']
|
||||
|
||||
requires = ['argparse; python_version < "2.7"', 'pygments', 'babel']
|
||||
requires = ['pygments', 'babel']
|
||||
|
||||
setup_requires = ['setuptools_scm']
|
||||
|
||||
classifiers = """
|
||||
Environment :: Console
|
||||
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 2.7
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.3
|
||||
Programming Language :: Python :: 3.4
|
||||
Programming Language :: Python :: 3.5
|
||||
Programming Language :: Python :: 3.6
|
||||
Programming Language :: Python :: 3.7
|
||||
""".strip().split('\n')
|
||||
|
||||
setup(
|
||||
name='colout',
|
||||
version='0.6',
|
||||
use_scm_version=True,
|
||||
classifiers=classifiers,
|
||||
description='Color Up Arbitrary Command Output.',
|
||||
entry_points={
|
||||
'console_scripts': ['colout=colout.colout:main'],
|
||||
},
|
||||
long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
|
||||
author='nojhan',
|
||||
author_email='nojhan@nojhan.net',
|
||||
|
|
@ -27,7 +46,8 @@ setup(
|
|||
packages=packages,
|
||||
package_data={'': ['LICENSE', 'README.md']},
|
||||
package_dir={'colout': 'colout'},
|
||||
scripts=['bin/colout'],
|
||||
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
|
||||
setup_requires=setup_requires,
|
||||
include_package_data=True,
|
||||
install_requires=requires,
|
||||
license='GPLv3',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue