<reponame>careyrp/github-pr-stats
#!/usr/bin/env python
import os
from distutils.core import setup

from github_pr_stats import VERSION

# I really prefer Markdown to reStructuredText.  PyPi does not.  This allows me
# to have things how I'd like, but not throw complaints when people are trying
# to install the package and they don't have pypandoc or the README in the
# right place.
try:
   import pypandoc
   description = pypandoc.convert('README.md', 'rst')
except (IOError, OSError, ImportError):
   description = ''
try:
   license = open('LICENSE').read()
except IOError:
   license = 'WTFPL'

setup(
   name = 'github-pr-stats',
   version = VERSION,
   author = '<NAME>',
   author_email = '<EMAIL>',
   packages = ['github_pr_stats', 'github_pr_stats.example_plugins'],
   scripts = ['bin/github-pr-stats'],
   url = 'https://github.com/xiongchiamiov/github-pr-stats',
   license = license,
   description = 'Various statistics on the pull requests in your repo.',
   long_description = description,
   install_requires = [
      'ascii-graph >= 0.2.0',
      'docopt >= 0.6, < 0.7',
      'envoy >= 0.0.2',
      'github3.py >= 0.8, < 0.9',
      'importlib >= 1.0',
      'numpy >= 1.7, < 1.8',
      'ordereddict',
      'python-dateutil >= 2.2, < 2.3',
   ],
)


#!/usr/bin/env python
import os
from distutils.core import setup

from github_pr_stats import VERSION

# I really prefer Markdown to reStructuredText.  PyPi does not.  This allows me
# to have things how I'd like, but not throw complaints when people are trying
# to install the package and they don't have pypandoc or the README in the
# right place.
try:
   import pypandoc
   description = pypandoc.convert('README.md', 'rst')
except (IOError, OSError, ImportError):
   description = ''
try:
   license = open('LICENSE').read()
except IOError:
   license = 'WTFPL'

setup(
   name = 'github-pr-stats',
   version = VERSION,
   author = '<NAME>',
   author_email = '<EMAIL>',
   packages = ['github_pr_stats', 'github_pr_stats.example_plugins'],
   scripts = ['bin/github-pr-stats'],
   url = 'https://github.com/xiongchiamiov/github-pr-stats',
   license = license,
   description = 'Various statistics on the pull requests in your repo.',
   long_description = description,
   install_requires = [
      'ascii-graph >= 0.2.0',
      'docopt >= 0.6, < 0.7',
      'envoy >= 0.0.2',
      'github3.py >= 0.8, < 0.9',
      'importlib >= 1.0',
      'numpy >= 1.7, < 1.8',
      'ordereddict',
      'python-dateutil >= 2.2, < 2.3',
   ],
)
#!/usr/bin/env python # I really prefer Markdown to reStructuredText.  PyPi does not.  This allows me # to have things how I'd like, but not throw complaints when people are trying # to install the package and they don't have pypandoc or the README in the # right place.