forked from klemengit/pyDIC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (35 loc) · 1.21 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
"""A setuptools based setup module for the py_dic package."""
from setuptools import setup, find_packages
from os import path
def parse_requirements(filename):
''' Load requirements from a pip requirements file '''
with open(filename, 'r') as fd:
lines = []
for line in fd:
line.strip()
if line and not line.startswith("#"):
lines.append(line)
return lines
requirements = parse_requirements('requirements.txt')
with open('README.md', 'r', encoding='UTF-8') as f:
readme = f.read()
setup(
name='py_dic',
version='0.1.1',
description='A DIgital Image Correlation implementation in Python using the SciPy stack.',
long_description=readme,
long_description_content_type='text/markdown',
url='https://github.com/ladisk/pyDIC',
author='Domen Gorjup',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3.6',
],
keywords='computer vision dic',
packages=['py_dic'],
package_data={'py_dic':['*']},
install_requires=requirements,
)