Commit a976fd22 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[setup] Add BEAT framework classifier

parent 79a465b7
Pipeline #29152 passed with stage
in 15 minutes and 32 seconds
...@@ -27,44 +27,38 @@ ...@@ -27,44 +27,38 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
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.web",
name='beat.web',
version=open("version.txt").read().rstrip(), version=open("version.txt").read().rstrip(),
description='Biometrics Evaluation and Testing Platform (Web Modules)', description="Biometrics Evaluation and Testing Platform (Web Modules)",
url='https://gitlab.idiap.ch/beat/beat.web', url="https://gitlab.idiap.ch/beat/beat.web",
license='AGPLv3', license="AGPLv3",
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', encoding="utf-8").read(), long_description=open("README.rst", encoding="utf-8").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"),
classifiers=[
classifiers = [ "Framework :: BEAT",
'Development Status :: 5 - Production/Stable', "Development Status :: 5 - Production/Stable",
'License :: OSI Approved :: GNU Affero General Public License v3', "License :: OSI Approved :: GNU Affero General Public License v3",
'Intended Audience :: Education', "Intended Audience :: Education",
'Intended Audience :: Science/Research', "Intended Audience :: Science/Research",
'Natural Language :: English', "Natural Language :: English",
'Programming Language :: Python', "Programming Language :: Python",
'Programming Language :: JavaScript', "Programming Language :: JavaScript",
'Framework :: Django', "Framework :: Django",
], ],
entry_points={"console_scripts": ["scheduler = beat.web.scripts.scheduler:main"]},
entry_points={
'console_scripts': [
'scheduler = beat.web.scripts.scheduler:main',
],
},
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment