forked from ymattw/ydiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·26 lines (23 loc) · 814 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·26 lines (23 loc) · 814 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
#! /usr/bin/env python
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "cdiff",
version = "0.0.1",
author = "Matthew Wang",
licence = "GPL2",
description = ("View incremental, colored diff in unified format or in side"
"by side mode with auto pager"),
keywords = "diff",
url = "https://github.com/ymattw/cdiff",
scripts = ['src/cdiff.py'],
packages=['src'],
long_description=read('README.md'),
install_requires = ['python>= 2.5.0'],
)