-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (26 loc) · 830 Bytes
/
setup.py
File metadata and controls
32 lines (26 loc) · 830 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
#!/usr/bin/env python
from pathlib import Path
from setuptools import find_packages
from setuptools import setup
pkg_name = "scalebar"
cwd = Path(__file__).parent.resolve()
# Get __version__ variable
__version__ = None
exec(open(str(cwd / pkg_name / '_version.py')).read())
with open(str(cwd / "requirements.txt")) as f:
install_requires = [line.strip() for line in f]
setup(
name=pkg_name,
version=__version__,
description='Processing tools for scale bars in images.',
author='Dimitri Korsch',
author_email='korschdima@gmail.com',
license='AGPL-3.0 License',
packages=find_packages(),
zip_safe=False,
setup_requires=[],
install_requires=install_requires,
package_data={'': ['requirements.txt']},
data_files=[('.', ['requirements.txt'])],
include_package_data=True,
)