-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
43 lines (39 loc) · 1.42 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
# -*- coding: utf-8 -*-
import os
try:
from setuptools import setup, find_packages
from setuptools.command import easy_install
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command import easy_install
def read(relative):
contents = open(relative, 'r').read()
return [l for l in contents.split('\n') if l != '']
setup(
name='pynsive',
version=read('VERSION')[0],
description='A Python plugin and module introspection library.',
long_description=open('README.rst', 'r').read(),
author='John Hopper',
author_email='john.hopper@jpserver.net',
url='https://github.com/zinic/pynsive',
download_url='https://pypi.python.org/pypi/pynsive',
license='Apache 2.0',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Environment :: Plugins',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3'
],
tests_require=read('./tools/test-requires'),
install_requires=read('./tools/install-requires'),
test_suite='nose.collector',
zip_safe=False,
include_package_data=True,
packages=find_packages(exclude=['ez_setup']))