-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
29 lines (24 loc) · 903 Bytes
/
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
from os import path
import setuptools
from setuptools import setup
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
WORKING_DIR = path.abspath(path.dirname(__file__))
# Get the long description from the README.md
with open(path.join(WORKING_DIR, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
author='Dave Gallant',
author_email='[email protected]',
description='a class decorator that applies to all methods',
keywords=['methods', 'decorator'],
license='Apache License, Version 2.0',
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
name='decorate-all-methods',
packages=setuptools.find_packages(),
url='https://github.com/davegallant/decorate_all_methods',
version='0.0.2',
)