summaryrefslogtreecommitdiff
path: root/setup.py
blob: 81cb0ace368ccfd2094e6909ca7b54736ca8e6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import setup

def readme():
    with open('README.md') as f:
        return f.read()

setup(name='fetch_web_article',
      version='0.1.1',
      description='Fetch a web-page article and email it',
      author='Assaf Gordon',
      author_email='assafgordon@gmail.com',
      license='GPLv3+',

      classifiers=[
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
          'Programming Language :: Python :: 3'
      ],

      #url="",

      packages=['fetch_web_article'],

      install_requires=[
          'newspaper3k',
          'python-magic',
      ],

      # Don't install files listed in MANIFEST.in
      include_package_data=False,

      entry_points = {
          'console_scripts': ['fetch-web-article=fetch_web_article.runner:command_line_runner'],
      },


      # Get the version information from git (if possible)
      # See version.py and https://pypi.python.org/pypi/setuptools_scm
      use_scm_version = {"root":".", "relative_to":__file__},
      setup_requires =["setuptools_scm"],


      # tests
      test_suite = 'nose.collector',
      tests_require = ['nose'],

      zip_safe=False,
)