-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (33 loc) · 981 Bytes
/
setup.py
File metadata and controls
35 lines (33 loc) · 981 Bytes
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
import os
import formatter2 as metadata
from setuptools import setup, find_packages
if os.path.isfile('README.rst'):
long_description = open('README.rst').read()
else:
long_description = 'See http://pypi.python.org/pypi/formatter2/'
setup(
name=metadata.__package_name__,
version=metadata.__version__,
author=metadata.__author__,
author_email=metadata.__author_email__,
description=metadata.__description__,
url=metadata.__url__,
license='BSD',
packages=find_packages(),
long_description=long_description,
test_suite='nose.collector',
install_requires=[
'pep8',
],
setup_requires=['nose', 'mock', 'coverage', 'tissue'],
py_modules=['formatter2.formatter'],
classifiers=[
'License :: OSI Approved :: BSD License',
],
entry_points={
'console_scripts': [
'python-formatter = formatter2.main:main',
'format-python = formatter2.main:main',
],
},
)