-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_minimal.py
More file actions
35 lines (32 loc) · 978 Bytes
/
setup_minimal.py
File metadata and controls
35 lines (32 loc) · 978 Bytes
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Minimal setup.py for Python 2.7 compatibility testing.
"""
from __future__ import print_function, unicode_literals
import os
import sys
from setuptools import setup, find_packages
# Get the package version
about = {}
with open(os.path.join('src', 'load', '__init__.py')) as f:
for line in f:
if line.startswith('__version__'):
exec(line, about)
break
setup(
name='load',
version=about.get('__version__', '1.0.0'),
description='Modern Python import alternative with automatic package installation',
author='Tom Sapletta',
author_email='info@softreck.dev',
url='https://github.com/pyfunc/load',
package_dir={'': 'src'},
packages=find_packages(where='src'),
install_requires=[
'six>=1.16.0',
'future>=1.0.0',
'pathlib2>=2.3.0;python_version<"3.0"',
],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
)