Skip to content
Snippets Groups Projects
Commit c74590fd authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Merge branch '21_put_back_beat_classifier' into 'master'

Add BEAT framework classifier

Closes #21

See merge request !40
parents f173cda3 d09bd7a4
No related branches found
No related tags found
1 merge request!40Add BEAT framework classifier
Pipeline #29155 passed
...@@ -33,50 +33,50 @@ ...@@ -33,50 +33,50 @@
# # # #
################################################################################### ###################################################################################
# Define package version # Define package version
version = open("version.txt").read().rstrip()
from setuptools import setup, find_packages from setuptools import setup, find_packages
version = open("version.txt").read().rstrip()
def load_requirements(f): def load_requirements(f):
retval = [str(k.strip()) for k in open(f, 'rt')] retval = [str(k.strip()) for k in open(f, "rt")]
return [k for k in retval if k and k[0] not in ('#', '-')] return [k for k in retval if k and k[0] not in ("#", "-")]
# The only thing we do in this file is to call the setup() function with all # The only thing we do in this file is to call the setup() function with all
# parameters that define our package. # parameters that define our package.
setup( setup(
name="beat.backend.python",
name='beat.backend.python',
version=open("version.txt").read().rstrip(), version=open("version.txt").read().rstrip(),
description='Python Backend for the BEAT Platform', description="Python Backend for the BEAT Platform",
url='https://gitlab.idiap.ch/beat/beat.backend.python', url="https://gitlab.idiap.ch/beat/beat.backend.python",
license='BSD', license="BSD",
author='Idiap Research Institute', author="Idiap Research Institute",
author_email='beat.support@idiap.ch', author_email="beat.support@idiap.ch",
long_description=open('README.rst').read(), long_description=open("README.rst").read(),
# This line is required for any distutils based packaging. # This line is required for any distutils based packaging.
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
install_requires=load_requirements('requirements.txt'), install_requires=load_requirements("requirements.txt"),
entry_points={ entry_points={
'console_scripts': [ "console_scripts": [
'execute = beat.backend.python.scripts.execute:main', "execute = beat.backend.python.scripts.execute:main",
'loop_execute = beat.backend.python.scripts.loop_execute:main', "loop_execute = beat.backend.python.scripts.loop_execute:main",
'describe = beat.backend.python.scripts.describe:main', "describe = beat.backend.python.scripts.describe:main",
'databases_provider = beat.backend.python.scripts.databases_provider:main', "databases_provider = beat.backend.python.scripts.databases_provider:main",
'index = beat.backend.python.scripts.index:main', "index = beat.backend.python.scripts.index:main",
], ]
}, },
classifiers=[
classifiers = [ "Framework :: BEAT",
'Development Status :: 5 - Production/Stable', "Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers', "Intended Audience :: Developers",
'License :: OSI Approved :: BSD License', "License :: OSI Approved :: BSD License",
'Natural Language :: English', "Natural Language :: English",
'Programming Language :: Python', "Programming Language :: Python",
'Programming Language :: Python :: 3', "Programming Language :: Python :: 3",
'Topic :: Software Development :: Libraries :: Python Modules', "Topic :: Software Development :: Libraries :: Python Modules",
], ],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment