diff options
author | Jon Bernard <jbernard@jbernard.io> | 2019-01-16 15:54:37 -0500 |
---|---|---|
committer | Jon Bernard <jbernard@jbernard.io> | 2019-03-05 10:16:06 -0500 |
commit | 174f42ea32529d25a7790ae956e891c6ac15a99a (patch) | |
tree | aadd77dba3fe7d6b13422b44fc7192a59616dc38 | |
parent | 8663ceeb4b8d87bef9b040414e68dd67c3543768 (diff) | |
download | dotfiles-174f42ea32529d25a7790ae956e891c6ac15a99a.tar.gz dotfiles-174f42ea32529d25a7790ae956e891c6ac15a99a.tar.bz2 dotfiles-174f42ea32529d25a7790ae956e891c6ac15a99a.zip |
Use flake8 instead of pep8 and pyflakes
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | setup.py | 43 |
2 files changed, 20 insertions, 25 deletions
@@ -5,7 +5,7 @@ test = pytest license_file = LICENSE.md [tool:pytest] -addopts = --pep8 --flakes +addopts = --flake8 [bdist_wheel] universal = 1 @@ -1,45 +1,40 @@ -from io import open -from os import path from setuptools import setup, find_packages from dotfiles import __version__ -here = path.abspath(path.dirname(__file__)) - -with open(path.join(here, 'README.md'), encoding='utf8') as f: - long_description = f.read() - -test_requirements = [ - 'pytest', - 'pytest-pep8', - 'pytest-flakes', -] - setup( name='dotfiles', version=__version__, description='Easily manage your dotfiles', - long_description=long_description, + long_description=open('README.md', encoding='utf-8').read(), long_description_content_type='text/markdown', - url='https://github.com/jbernard/dotfiles', author='Jon Bernard', author_email='jbernard@jbernard.io', + license='ISC', + url='https://github.com/jbernard/dotfiles', + packages=find_packages(), + tests_require=[ + 'pytest', + 'pytest-flake8', + ], + setup_requires=['pytest-runner'], + entry_points={ + 'console_scripts': [ + 'dotfiles=dotfiles.cli:cli', + ], + }, + install_requires=['click'], classifiers=[ 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)' + 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Topic :: Utilities', ], - packages=find_packages(), - install_requires=['click'], - setup_requires=['pytest-runner'], - tests_require=test_requirements, - entry_points={ - 'console_scripts': [ - 'dotfiles=dotfiles.cli:cli', - ], - }, project_urls={ 'Bug Reports': 'https://github.com/jbernard/dotfiles/issues', 'Source': 'https://github.com/jbernard/dotfiles', |