-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (34 loc) · 1.25 KB
/
setup.py
File metadata and controls
41 lines (34 loc) · 1.25 KB
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
import os
from setuptools import setup
from setuptools import find_namespace_packages
os.environ["IN_SETUP"] = "1" # noqa: E402
from daps_utils import __version__, __basedir__ # noqa: E402
version = ''.join(v for v in __version__ if (v.isnumeric() or v == '.'))
with open(f'{__basedir__}/requirements.txt') as f:
required = f.read().splitlines()
exclude = ['docs', 'tests*']
common_kwargs = dict(
version=version,
license='MIT',
install_requires=required,
long_description=open('README.md').read(),
url='https://github.com/nestauk/daps_utils',
author='nesta',
author_email='software_development@nesta.org.uk',
maintainer='nesta',
maintainer_email='software_development@nesta.org.uk',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
],
python_requires='>=3.7',
include_package_data=True,
)
setup(name='daps_utils',
packages=find_namespace_packages(where='.', exclude=exclude),
scripts=['scripts/metaflowtask-init', 'scripts/calver-init'],
**common_kwargs)