Issues (143)

setup.py (16 issues)

1
from setuptools import setup, find_packages
2
import setuptools.command.build_py
3
import os
4
# try:
5
#    import fijibin
6
# except:
7
#    print('Import error. Install Fiji manually.')
8
9
ver_file = os.path.join('diff_classifier', 'version.py')
10
with open(ver_file) as f:
11
    exec(f.read())
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable exec does not seem to be defined.
Loading history...
12
13
PACKAGES = find_packages()
14
15
opts = dict(name=NAME,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable NAME does not seem to be defined.
Loading history...
16
            maintainer=MAINTAINER,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable MAINTAINER does not seem to be defined.
Loading history...
17
            maintainer_email=MAINTAINER_EMAIL,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable MAINTAINER_EMAIL does not seem to be defined.
Loading history...
18
            description=DESCRIPTION,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable DESCRIPTION does not seem to be defined.
Loading history...
19
            long_description=LONG_DESCRIPTION,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable LONG_DESCRIPTION does not seem to be defined.
Loading history...
20
            url=URL,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable URL does not seem to be defined.
Loading history...
21
            packages=PACKAGES,
22
            download_url=DOWNLOAD_URL,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable DOWNLOAD_URL does not seem to be defined.
Loading history...
23
            license=LICENSE,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable LICENSE does not seem to be defined.
Loading history...
24
            classifiers=CLASSIFIERS,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable CLASSIFIERS does not seem to be defined.
Loading history...
25
            author=AUTHOR,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable AUTHOR does not seem to be defined.
Loading history...
26
            author_email=AUTHOR_EMAIL,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable AUTHOR_EMAIL does not seem to be defined.
Loading history...
27
            platforms=PLATFORMS,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable PLATFORMS does not seem to be defined.
Loading history...
28
            version=VERSION,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable VERSION does not seem to be defined.
Loading history...
29
            install_requires=REQUIRES,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable REQUIRES does not seem to be defined.
Loading history...
30
            package_data=PACKAGE_DATA)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable PACKAGE_DATA does not seem to be defined.
Loading history...
31
32
33
if __name__ == '__main__':
34
    setup(**opts)
35
    try:
36
        #import fijibin
37
        setup(cmdclass={'build_py': FijiCommand})
38
    except:
39
        print('Import error. Install Fiji manually.')
40