forked from bugraoezdemir/image_processing
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (30 loc) · 1.04 KB
/
setup.py
File metadata and controls
38 lines (30 loc) · 1.04 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
# -*- coding: utf-8 -*-
"""
Created on Fri Nov 5 14:57:57 2021
@author: bugra
"""
import setuptools
# with open("README.md", "r", encoding="utf-8") as fh:
# long_description = fh.read()
def parse_requirements(filename):
with open(filename, encoding='utf-8') as fid:
requires = [line.strip() for line in fid.readlines() if line]
return requires
def readme():
with open('README.txt') as f:
return f.read()
requirements = parse_requirements('requirements.txt')
setuptools.setup(
name = 'image_processing',
version = '0.0.0',
author = 'Bugra Özdemir',
author_email = 'bugraa.ozdemir@gmail.com',
description = 'Image processing tools.',
long_description = readme(),
long_description_content_type = "text/markdown",
include_package_data = True,
url = 'https://github.com/bugraoezdemir/image_processing',
# license = 'MIT',
packages = setuptools.find_packages(exclude = ("wrappers", "wrappers.*", "*wrappers")),
install_requires = requirements
)