diff setup.py @ 0:a1b7a459326a

Initial commit.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 18 Jul 2018 20:46:04 -0700
parents
children c6bae5dcd8d7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.py	Wed Jul 18 20:46:04 2018 -0700
@@ -0,0 +1,48 @@
+import os.path
+from setuptools import setup, find_packages
+
+
+def read(fname):
+    with open(os.path.join(os.path.dirname(__file__), fname)) as fp:
+        return fp.read()
+
+
+long_description = read('README.rst')
+
+install_requires = [
+    'coloredlogs>=10.0',
+    'Mastodon.py>=1.3.0',
+    'mf2py>=1.1.0',
+    'mf2util>=0.5.0',
+    'python-dateutil>=2.7.0',
+    'python-twitter>=3.4.0'
+]
+
+tests_require = [
+    'pytest>=3.6.2'
+]
+
+setup_requires = [
+    'setuptools-scm',
+    'pytest-runner'
+]
+
+
+setup(
+    name='silorider',
+    use_scm_version={'write_to': 'silorider/version.py'},
+    description=("Scans a website's microformats and cross-posts content "
+                 "to 'silo' services."),
+    long_description=long_description,
+    author='Ludovic Chabant',
+    author_email='ludovic@chabant.com',
+    license="Apache License 2.0",
+    url='https://bolt80.com/silorider',
+    packages=find_packages(),
+    setup_requires=setup_requires,
+    tests_require=tests_require,
+    install_requires=install_requires,
+    entry_points={'console_scripts': [
+        'silorider = silorider.main:main'
+    ]}
+)