-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (56 loc) · 2.32 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# .. See the NOTICE file distributed with this work for additional information
# regarding copyright ownership.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from pathlib import Path
from setuptools import setup, find_namespace_packages, find_packages
with open(Path(__file__).parent / 'README.md') as f:
readme = f.read()
with open(Path(__file__).parent / 'VERSION') as f:
version = f.read()
def import_requirements():
"""Import ``requirements.txt`` file located at the root of the repository."""
with open(Path(__file__).parent / 'requirements.txt') as file:
return [line.rstrip() for line in file.readlines()]
setup(
name='event',
version='1.0.0',
namespace_packages=['ensembl'],
packages=find_namespace_packages(where='src', include=['ensembl.*']),
package_dir={'': 'src'},
include_package_data=True,
url='https://github.com/Ensembl/ensembl-prodinf-event',
license='APACHE 2.0',
author='vinay',
author_email='vinay@ebi.ac.uk',
maintainer='Ensembl Production Team',
maintainer_email='ensembl-production@ebi.ac.uk',
description='Ensembl event service',
python_requires='>=3.7',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Environment :: Console',
'License :: OSI Approved :: APACHE 2.0 License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Topic :: Utilities',
'Topic :: System :: Distributed Computing',
'Operating System :: POSIX',
'Operating System :: Unix'
],
keywords='ensembl, event, production',
entry_points={
'console_scripts': [
'event_api = ensembl.production.event.runserver:main'
]
}
)