generated from lundybernard/project_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (43 loc) · 1.27 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
"""
DEPRECATED.
this file only exists to make `pip install -e` work for now
A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# get __version__ from _version.py
from bat._version import __version__
# Get the long description from the relevant file
long_description = '''
Deprecated install method.
this file only exists to make `pip install -e` work for now
'''
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
# Application name:
name="BAT",
# Version number (initial):
version=__version__,
# Application author details:
author="lundy bernard",
author_email="[email protected]",
license='MIT',
# Packages
packages=find_packages(),
package_data={'': ['*.yaml'], },
include_package_data=True,
zip_safe=False,
# entry points, to generate executables in python/bin/
entry_points={
"console_scripts":
['bat = bat.cli:BATCLI']
},
description="Developer Install Method",
long_description=long_description,
# Dependent packages (distributions)
install_requires=requirements,
)