Mercurial > silorider
annotate setup.py @ 60:b7da3d97ea99
Add profile URL handlers
Silos register these handlers so that everybody knows if a hyperlink is
a mention to another user on a particular social network. If any handler
matches, silos not related to that social media will skip that link.
It's possible than in rare cases we want that link everywhere, but so
far I haven't needed it, compared to all the times I didn't want these
links.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 28 Oct 2023 11:57:04 -0700 |
parents | 76dce7813340 |
children |
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 = [ | |
47
4be321bd5ed4
Update dependency versions
Ludovic Chabant <ludovic@chabant.com>
parents:
26
diff
changeset
|
13 'atproto>=0.0.29', |
0 | 14 'coloredlogs>=10.0', |
47
4be321bd5ed4
Update dependency versions
Ludovic Chabant <ludovic@chabant.com>
parents:
26
diff
changeset
|
15 'dateparser>=1.1.8', |
0 | 16 'Mastodon.py>=1.3.0', |
17 'mf2py>=1.1.0', | |
18 'mf2util>=0.5.0', | |
57
76dce7813340
Resize images if they're too large to be uploaded to Bluesky.
Ludovic Chabant <ludovic@chabant.com>
parents:
54
diff
changeset
|
19 'Pillow>=10.0.1', |
0 | 20 'python-dateutil>=2.7.0', |
54
e3d2e13e8853
Add Facebook Page silo.
Ludovic Chabant <ludovic@chabant.com>
parents:
47
diff
changeset
|
21 'python-facebook-api>=0.17.1', |
20
a45587268314
Add missing `ronkyuu` dependency.
Ludovic Chabant <ludovic@chabant.com>
parents:
14
diff
changeset
|
22 'python-twitter>=3.4.0', |
47
4be321bd5ed4
Update dependency versions
Ludovic Chabant <ludovic@chabant.com>
parents:
26
diff
changeset
|
23 'ronkyuu>=0.6', |
4be321bd5ed4
Update dependency versions
Ludovic Chabant <ludovic@chabant.com>
parents:
26
diff
changeset
|
24 'tweepy>=4.14.0' |
0 | 25 ] |
26 | |
27 tests_require = [ | |
28 'pytest>=3.6.2' | |
29 ] | |
30 | |
31 setup_requires = [ | |
32 'setuptools-scm', | |
33 'pytest-runner' | |
34 ] | |
35 | |
36 | |
37 setup( | |
14
c6bae5dcd8d7
Fix casing in project name.
Ludovic Chabant <ludovic@chabant.com>
parents:
0
diff
changeset
|
38 name='SiloRider', |
0 | 39 use_scm_version={'write_to': 'silorider/version.py'}, |
40 description=("Scans a website's microformats and cross-posts content " | |
41 "to 'silo' services."), | |
42 long_description=long_description, | |
43 author='Ludovic Chabant', | |
44 author_email='ludovic@chabant.com', | |
45 license="Apache License 2.0", | |
46 url='https://bolt80.com/silorider', | |
47 packages=find_packages(), | |
26
c8e0d4c12f92
Fix missing config defaults
Ludovic Chabant <ludovic@chabant.com>
parents:
20
diff
changeset
|
48 include_package_data=True, |
0 | 49 setup_requires=setup_requires, |
50 tests_require=tests_require, | |
51 install_requires=install_requires, | |
52 entry_points={'console_scripts': [ | |
53 'silorider = silorider.main:main' | |
54 ]} | |
55 ) |