From 285f72a285b35dc0cd0b22bccc63a62f164d080b Mon Sep 17 00:00:00 2001 From: Soxoj Date: Sat, 5 Dec 2020 01:21:45 +0300 Subject: [PATCH] Packaging --- requirements.txt | 2 +- setup.cfg | 3 +++ setup.py | 22 ++++++++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/requirements.txt b/requirements.txt index d12d3b9..a499447 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,6 @@ requests-futures>=1.0.0 soupsieve>=1.9.2 stem>=1.8.0 torrequest>=0.1.0 -git+https://github.com/soxoj/socid_extractor +socid-extractor>=0.0.2 aiohttp==3.5.4 mock==4.0.2 diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..5daf14f --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[egg_info] +tag_build = +tag_date = 0 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..2825a3c --- /dev/null +++ b/setup.py @@ -0,0 +1,22 @@ +from setuptools import ( + setup, + find_packages, +) + + +with open('README.md') as fh: + long_description = fh.read() + long_description.replace('./', 'https://raw.githubusercontent.com/soxoj/maigret/main/') + +setup(name='maigret', + version='0.1.0', + description='Collect a dossier on a person by username from a huge number of sites', + long_description=long_description, + long_description_content_type="text/markdown", + url='https://github.com/soxoj/maigret', + entry_points={'console_scripts': ['maigret = maigret.cli:run']}, + packages=find_packages(), + author='Soxoj', + author_email='soxoj@protonmail.com', + license='MIT', + zip_safe=False)