[+] Setup script

This commit is contained in:
Azalea (on HyDEV-Daisy)
2022-04-14 20:26:03 -04:00
parent 2935e7e1f3
commit 1d72112aee
3 changed files with 38 additions and 15 deletions
+1
View File
@@ -0,0 +1 @@
include pysenti/original/*
+4
View File
@@ -0,0 +1,4 @@
from __future__ import annotations
__version__ = '1.0.0'
+32 -14
View File
@@ -1,21 +1,39 @@
import setuptools import pathlib
import pysenti
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup( # The directory containing this file
name="sentistrength", HERE = pathlib.Path(__file__).parent
version="0.0.9",
author="Zhun Hung", # The text of the README file
author_email="yongzhunhung@gmail.com", README = (HERE / "README.md").read_text()
description="Python 3 Wrapper for SentiStrength, reads a single or multiple input with options for binary class or scale output.",
long_description=long_description, # This call to setup() does all the work
setup(
name="PySenti",
version=pysenti.__version__,
description="Python 3 Wrapper for SentiStrength",
long_description=README,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
url="https://github.com/zhunhung/pysentistrength", url="https://github.com/hykilpikonna/PySenti",
packages=setuptools.find_packages(), author="Azalea Gui, Mike Thelwall",
author_email="me@hydev.org, m.thelwall@wlv.ac.uk",
classifiers=[ classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
], ],
packages=['pysenti'],
package_data={'pysenti': ['pysenti/*']},
include_package_data=True,
install_requires=['setuptools', 'typing_extensions'],
# entry_points={
# "console_scripts": [
# "pysenti=pysenti.main:run",
# ]
# },
) )