-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.27 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
# -*- coding: utf-8 -*-
__package_name = 'avoin'
import os
from setuptools import setup, find_packages
from version import get_git_version
def read(filename):
f = os.path.join(os.path.dirname(__file__), filename)
if os.path.exists(f):
return open(f).read()
setup(name=__package_name,
version = get_git_version(),
description='Misc python tools',
long_description=read('README.md'),
author='Ville Korhonen',
author_email='[email protected]',
url='https://github.com/ypcs/' + __package_name,
packages=find_packages('src'),
package_dir={'': 'src',},
install_requires=[
'requests',
'requests_cache',
'lxml',
],
license='GPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Utilities',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
],
entry_points={
'console_scripts': [
'avoin = avoin.core:run',
],
},
)