forked from cpburnz/python-pathspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (32 loc) · 1.13 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
# coding: utf-8
import io
from setuptools import setup, find_packages
from pathspec import __author__, __email__, __license__, __project__, __version__
# Read readme and changes files.
with io.open('README.rst', mode='r', encoding='UTF-8') as fh:
readme = fh.read().strip()
with io.open('CHANGES.rst', mode='r', encoding='UTF-8') as fh:
changes = fh.read().strip()
setup(
name=__project__,
version=__version__,
author=__author__,
author_email=__email__,
url="https://github.com/cpburnz/python-path-specification",
description="Utility library for gitignore style pattern matching of file paths.",
long_description=readme + "\n\n" + changes,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
],
license=__license__,
packages=find_packages(),
)