-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
72 lines (65 loc) · 1.79 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# with open('requirements.txt') as f:
# required = f.read().splitlines()
with open('README.md') as readme_file:
readme = readme_file.read()
long_desc = """
amilib is a library for downloading, cleaning, annotating, documents of various sorts (HTML, PDF, XML)"""
requirements = [
'lxml',
'nltk',
'pdfminer3',
'Pillow',
'setuptools',
'pdfplumber',
'requests',
'numpy==1.24.1',
'pandas==2.0.3',
'pyvis',
'selenium',
'tinycss',
'SPARQLWrapper',
'Tkinterweb',
'webdriver-manager',
'scikit-learn==1.3.2',
]
setup(
name='amilib',
url='https://github.com/petermr/amilib',
version='0.4.1',
description='document and dictionary download, cleaning, management',
long_description_content_type='text/markdown',
long_description=readme,
author="Peter Murray-Rust",
author_email='[email protected]',
license='Apache2',
install_requires=requirements,
include_package_data=True,
zip_safe=False,
keywords='text and data mining',
packages=[
'amilib'
],
package_dir={'amilib': 'amilib'},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
# 'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.12',
],
entry_points={
'console_scripts': [
'amilib=amilib.amix:main',
],
},
python_requires='>=3.7,<3.13',
)