-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (36 loc) · 1.23 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
import os
from setuptools import setup, find_packages
import img_resizer
def read_requirements(filename):
content = open(os.path.join(here, filename)).read()
requirements = map(lambda r: r.strip(), content.splitlines())
return requirements
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
requirements = read_requirements('requirements.txt')
setup(
name='img_resizer',
version=img_resizer.__version__,
description='resize 3x image to @1x and @2x for iOS App',
long_description=README,
author='Daniel Hsieh',
author_email='[email protected]',
url='https://github.com/g761007/img_resizer',
license='MIT',
packages = find_packages(),
include_package_data=True,
install_requires=requirements,
classifiers = [
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules',
],
entry_points = '''
[console_scripts]
img_resizer=img_resizer.resizer:resize
''',
)