add setup for pypi

This commit is contained in:
mfaisyal
2022-09-24 22:46:27 +07:00
parent 2ccaf87649
commit c61b1320b1
2 changed files with 68 additions and 21 deletions

57
setup.cfg Normal file
View File

@@ -0,0 +1,57 @@
[metadata]
name = opendbm
# $version will be replaced automatically by Github Actions pipeline
version = $version
description = AiCures OpenDBM is a software package that allows for calculation of digital biomarkers of health and functioning from video or audio of an individuals behavior. It integrates existing tools for measurement of behavioral characteristics such as facial activity, voice, and movement into a single package for measurement of overall behavior. OpenDBM is designed for ease of use, expanding the availability of such tools to the wider scientific community.
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/AiCure/open_dbm
author = The OpenDBM Development Team
author_email = opendbm@aicure.com
license = AGPL-3.0
license_files = LICENSE
platforms = any
classifiers =
Intended Audience :: Science/Research
License :: OSI Approved :: GNU Affero General Public License v3
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering
project_urls =
Bug Tracker = https://github.com/AiCure/open_dbm/issues
Documentation = https://AiCure.github.io/open_dbm
Source Code = https://github.com/AiCure/open_dbm
[options]
packages = find:
install_requires =
numpy>=1.17
pandas>=1.1.5
matplotlib==3.5.2
praat-parselmouth
watchtower
webrtcvad
imutils
more_itertools
scipy
pyyaml==5.4.1
pydub
deepspeech==0.9.3
nltk
lexicalrichness
vaderSentiment
opencv-python>=4.5.5
cmake; "Windows" not in platform_system
dlib>=19.13.0; "Windows" not in platform_system
python_requires = >=3.7
include_package_data = True
[options.extras_require]
test =
pytest>=6.0
coverage
pre-commit

View File

@@ -1,23 +1,13 @@
import setuptools # Copyright (C) 2012-2022 james jameson
with open('requirements.txt') as fp:
install_requires = fp.read()
setuptools.setup( if __name__ == "__main__":
name="open_dbm",
version="0.0.1", import sys
author="Vijay Yadav",
author_email='vijay.yadav@aicure.com', from setuptools import find_packages, setup
description="openDBM",
license='', if sys.version_info[:2] < (3, 7):
packages=setuptools.find_packages(), raise RuntimeError("opendbm requires python >= 3.7.")
classifiers=[
"Programming Language :: Python :: 3", setup()
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
py_modules=["open_dbm"],
#package_dir={'':'open_dbm'}, # Directory of the source code of the package
install_requires = install_requires
)