mirror of
https://github.com/davegallant/decorate-all-methods.git
synced 2025-08-05 17:33:39 +00:00
initial
This commit is contained in:
28
setup.py
Normal file
28
setup.py
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
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='davegallant@gmail.com',
|
||||
description='a class decorator that applies to all methods',
|
||||
keywords=['methods', 'decorator'],
|
||||
license='Apache License, Version 2.0',
|
||||
long_description=LONG_DESCRIPTION,
|
||||
name='decorate-all-methods',
|
||||
packages=setuptools.find_packages(),
|
||||
url='https://github.com/davegallant/decorate_all_methods',
|
||||
version='0.0.1',
|
||||
)
|
Reference in New Issue
Block a user