-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
58 lines (48 loc) · 1.48 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8 -*-
import io
import os
from setuptools import find_packages, setup
# Package meta-data.
NAME = 'ProfileInspector'
DESCRIPTION = 'A Nuke plugin that help to visualize the application profiling information in a more convenient and user friendly manner.'
URL = 'https://github.com/sisoe24/ProfileInspector'
EMAIL = '[email protected]'
AUTHOR = 'Virgil Sisoe'
REQUIRES_PYTHON = '>=2.7.16'
REQUIRED = [
'pyside2==5.12.2'
]
EXTRAS = {
"test": ['pytest==4.6.11']
}
here = os.path.abspath(os.path.dirname(__file__))
# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
try:
with io.open(os.path.join(here, 'VERSION')) as f:
VERSION = f.read()
except FileNotFoundError:
VERSION = ''
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=find_packages(include=['src']),
# # If your package is a single module, use this instead of 'packages':
# py_modules=['src'],
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
license='MIT',
)