comparison setup.py @ 0:a1b7a459326a

Initial commit.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 18 Jul 2018 20:46:04 -0700
parents
children c6bae5dcd8d7
comparison
equal deleted inserted replaced
-1:000000000000 0:a1b7a459326a
1 import os.path
2 from setuptools import setup, find_packages
3
4
5 def read(fname):
6 with open(os.path.join(os.path.dirname(__file__), fname)) as fp:
7 return fp.read()
8
9
10 long_description = read('README.rst')
11
12 install_requires = [
13 'coloredlogs>=10.0',
14 'Mastodon.py>=1.3.0',
15 'mf2py>=1.1.0',
16 'mf2util>=0.5.0',
17 'python-dateutil>=2.7.0',
18 'python-twitter>=3.4.0'
19 ]
20
21 tests_require = [
22 'pytest>=3.6.2'
23 ]
24
25 setup_requires = [
26 'setuptools-scm',
27 'pytest-runner'
28 ]
29
30
31 setup(
32 name='silorider',
33 use_scm_version={'write_to': 'silorider/version.py'},
34 description=("Scans a website's microformats and cross-posts content "
35 "to 'silo' services."),
36 long_description=long_description,
37 author='Ludovic Chabant',
38 author_email='ludovic@chabant.com',
39 license="Apache License 2.0",
40 url='https://bolt80.com/silorider',
41 packages=find_packages(),
42 setup_requires=setup_requires,
43 tests_require=tests_require,
44 install_requires=install_requires,
45 entry_points={'console_scripts': [
46 'silorider = silorider.main:main'
47 ]}
48 )