-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·57 lines (47 loc) · 1.42 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Setup file for validatum. """
# Note: To use the 'upload' functionality of this file, you must:
# $ pipenv install twine --dev
import os
import sys
import glob
from shutil import rmtree
from setuptools import setup, find_namespace_packages, Command
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
def get_info():
info = {}
versionPath = glob.glob('src/*/_version.py')[0]
with open(versionPath) as fp:
exec(fp.read(), info)
return info
setup(
name='validatum',
author='Stephen Richer',
author_email='stephen.richer@nhs.net',
url='https://github.com/StephenRicher/validata',
python_requires='>=3.7.0',
install_requires=[
'numpy',
'pandas'
],
license='MIT',
classifiers=[
'Development Status :: 1 - Planning',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Science/Research',
'Intended Audience :: Healthcare Industry',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3',
'Natural Language :: English',
],
version=get_info()['__version__'],
description=__doc__,
long_description=read('README.md'),
long_description_content_type='text/markdown',
packages=find_namespace_packages(where='src'),
package_dir={'': 'src'},
zip_safe=False,
)