-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (47 loc) · 1.61 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
45
46
47
48
49
50
51
#!/usr/bin/python
# -*- coding: latin-1 -*-
"""Setup script."""
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import surfaceimagecontentgap
version = surfaceimagecontentgap.__version__
except ImportError:
version = 'Undefined'
requirements_file = os.path.join(os.path.dirname(__file__), 'requirements.txt')
with open(requirements_file) as f:
requirements = [line.rstrip('\n')
for line in f
if line and not line.startswith('#')]
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
]
packages = ['surfaceimagecontentgap']
entry_points = {
'console_scripts': [
'image-gap = surfaceimagecontentgap.imagegap:main',
]
}
setup(
name='SurfaceImageContentGap',
version=version,
author='Pierre-Selim Huard',
author_email='ps.huard@gmail.com',
url='http://github.com/Commonists/SurfaceImageContentGap',
description='R&D project to surface articles with most views that are lacking illustration on Wikipedia. Currently it supports two kind of search, searching articles without images given from a category or including a given template.',
long_description=open('README.md').read(),
license='MIT',
packages=packages,
entry_points=entry_points,
install_requires=requirements,
classifiers=classifiers
)