mirror of
https://github.com/bellingcat/polyphemus.git
synced 2026-06-12 21:38:31 +03:00
converted script into Python package
This commit is contained in:
36
setup.py
Normal file
36
setup.py
Normal file
@@ -0,0 +1,36 @@
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
|
||||
|
||||
import os.path
|
||||
from setuptools import setup
|
||||
|
||||
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
|
||||
|
||||
def readme( ):
|
||||
|
||||
with open( os.path.abspath(
|
||||
os.path.join(
|
||||
os.path.dirname( __file__ ),
|
||||
'README.md' ) ) ) as f:
|
||||
|
||||
return f.read( )
|
||||
|
||||
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
|
||||
|
||||
setup(
|
||||
name = 'polyphemus',
|
||||
version = '0.1',
|
||||
description = 'Scraping Odysee video data',
|
||||
long_description = readme( ),
|
||||
author = 'Bellingcat',
|
||||
packages = [
|
||||
'polyphemus' ],
|
||||
install_requires = [
|
||||
'requests >= 2.27.0',
|
||||
'beautifulsoup4 >= 4.10.0',
|
||||
'pandas >= 1.4.0'],
|
||||
include_package_data = True,
|
||||
zip_safe = False )
|
||||
|
||||
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
|
||||
Reference in New Issue
Block a user