-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
46 lines (41 loc) · 1.68 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
'''
Setup script.
To install clipboard:
[sudo] python setup.py install
'''
import clipboard
from setuptools import setup, find_packages
import os
def install(appname):
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as fobj:
readme = fobj.read()
setup(
name = appname,
version = clipboard.VERSION,
description = ''' A code analyzer without caring the C/C++ header files.
It works with Java, C/C++, JavaScript, Python, Objective C. Metrics includes cyclomatic complexity number etc.''',
long_description = readme,
url = 'https://github.com/terryyin/clipboard',
download_url='https://pypi.python.org/clipboard/',
license='MIT',
platforms='any',
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: Freeware',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Quality Assurance',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3'],
py_modules = ['clipboard'],
install_requires=['pyperclip'],
author = 'Terry Yin',
author_email = '[email protected]',
)
if __name__ == "__main__":
import sys
install('clipboard')