aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--setup.cfg3
-rw-r--r--setup.py11
3 files changed, 14 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6a2511d..7645e61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ __pycache__/
build/
dist/
dotfiles.egg-info/
+.eggs/
Gemfile
Gemfile.lock
diff --git a/setup.cfg b/setup.cfg
index 5e40900..0cd8d9d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
+[aliases]
+test = pytest
+
[wheel]
universal = 1
diff --git a/setup.py b/setup.py
index 466b10e..8f866b7 100644
--- a/setup.py
+++ b/setup.py
@@ -12,11 +12,20 @@ setup(
open('LICENSE.rst').read() + '\n\n' +
open('HISTORY.rst').read()),
license='ISC',
- py_modules=['dotfiles'],
+ py_modules=[
+ 'dotfiles'
+ ],
+ setup_requires=[
+ 'pytest-runner',
+ 'flake8',
+ ],
install_requires=[
'click',
'py',
],
+ tests_require=[
+ 'pytest'
+ ],
entry_points={
'console_scripts': [
'dotfiles=dotfiles:cli',