forked from cakebread/yolk
-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
executable file
·47 lines (40 loc) · 1.56 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
#!/usr/bin/env python
"""Installer for yolk."""
import ast
from setuptools import setup
def version():
"""Return version string."""
with open('yolk/__init__.py') as input_file:
for line in input_file:
if line.startswith('__version__'):
return ast.parse(line).body[0].value.s
with open('README.rst') as readme:
setup(
name='yolk3k',
license='BSD License',
version=version(),
description='Command-line tool for querying PyPI and Python packages '
'installed on your system.',
long_description=readme.read(),
maintainer='Steven Myint',
author='Rob Cakebread',
url='https://github.com/myint/yolk',
keywords='PyPI,setuptools,cheeseshop,distutils,eggs,package,'
'management',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=['yolk'],
package_dir={'yolk': 'yolk'},
entry_points={'console_scripts': ['yolk = yolk.cli:main']}
)