Skip to content

Commit

Permalink
Merge pull request #66 from Ichimonji10/setup
Browse files Browse the repository at this point in the history
Use setuptools for packaging, lint `setup.py`
  • Loading branch information
omaciel committed Jan 12, 2015
2 parents ef20458 + a741b94 commit 3ca13df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ docs-html:

lint:
flake8 .
pylint --reports=n --disable=I --ignore-imports=y fauxfactory docs/conf.py
# pylint should also lint setup.py and the tests/ directory.
pylint --reports=n --disable=I --ignore-imports=y fauxfactory docs/conf.py setup.py
# pylint should also lint the tests/ directory.

test:
python $(unittest-args)
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""A setuptools-based script for installing FauxFactory."""
from distutils.core import setup
# setuptools is preferred over distutils. See:
# https://packaging.python.org/en/latest/current.html#packaging-tool-recommendations
from setuptools import find_packages, setup
import os


Expand All @@ -20,7 +22,7 @@ def read(*paths):
author='Og Maciel',
author_email='omaciel@ogmaciel.com',
url='https://github.com/omaciel/fauxfactory',
packages=['fauxfactory'],
packages=find_packages(),
keywords='python automation data',
license='Apache 2.0',
classifiers=[
Expand Down

0 comments on commit 3ca13df

Please sign in to comment.