Mercurial > silorider
annotate setup.py @ 15:cb1dc5c864d8 0.2.0
Specify URLs in the config file instead of in the CLI.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 Jul 2018 23:59:39 -0700 |
parents | c6bae5dcd8d7 |
children | a45587268314 |
rev | line source |
---|---|
0 | 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( | |
14
c6bae5dcd8d7
Fix casing in project name.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
32 name='SiloRider', |
0 | 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 ) |