diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..454b1154 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,57 @@ +[metadata] +name = opendbm +# $version will be replaced automatically by Github Actions pipeline +version = $version +description = AiCure’s OpenDBM is a software package that allows for calculation of digital biomarkers of health and functioning from video or audio of an individual’s 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 diff --git a/setup.py b/setup.py index 733fc894..e713fe35 100644 --- a/setup.py +++ b/setup.py @@ -1,23 +1,13 @@ -import setuptools +# Copyright (C) 2012-2022 james jameson -with open('requirements.txt') as fp: - install_requires = fp.read() -setuptools.setup( - name="open_dbm", - version="0.0.1", - author="Vijay Yadav", - author_email='vijay.yadav@aicure.com', - description="openDBM", - license='', - packages=setuptools.find_packages(), - classifiers=[ - "Programming Language :: Python :: 3", - "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 -) \ No newline at end of file +if __name__ == "__main__": + + import sys + + from setuptools import find_packages, setup + + if sys.version_info[:2] < (3, 7): + raise RuntimeError("opendbm requires python >= 3.7.") + + setup()