aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@jbernard.io> 2019-01-16 15:54:37 -0500
committerGravatar Jon Bernard <jbernard@jbernard.io> 2019-03-05 10:16:06 -0500
commit174f42ea32529d25a7790ae956e891c6ac15a99a (patch)
treeaadd77dba3fe7d6b13422b44fc7192a59616dc38
parent8663ceeb4b8d87bef9b040414e68dd67c3543768 (diff)
downloaddotfiles-174f42ea32529d25a7790ae956e891c6ac15a99a.tar.gz
dotfiles-174f42ea32529d25a7790ae956e891c6ac15a99a.tar.bz2
dotfiles-174f42ea32529d25a7790ae956e891c6ac15a99a.zip
Use flake8 instead of pep8 and pyflakes
-rw-r--r--setup.cfg2
-rw-r--r--setup.py43
2 files changed, 20 insertions, 25 deletions
diff --git a/setup.cfg b/setup.cfg
index c95c79d..7448c3e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -5,7 +5,7 @@ test = pytest
license_file = LICENSE.md
[tool:pytest]
-addopts = --pep8 --flakes
+addopts = --flake8
[bdist_wheel]
universal = 1
diff --git a/setup.py b/setup.py
index 90fd1ea..522aa39 100644
--- a/setup.py
+++ b/setup.py
@@ -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',