-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
60 lines (51 loc) · 1.67 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
59
60
#!/usr/bin/env python
# -*- coding: utf-8 -*-
## Copyright (C) 2016 David Pinto <[email protected]>
## Copyright (C) 2019 Nicholas Hall <[email protected]>
##
## Copying and distribution of this file, with or without modification,
## are permitted in any medium without royalty provided the copyright
## notice and this notice are preserved. This file is offered as-is,
## without any warranty.
import setuptools
import setuptools.command.sdist
project_name = 'BeamDelta'
project_version = '1.2.0'
with open("README.md", "r") as fh:
long_description = fh.read()
manifest_files = [
"COPYING",
"README.md",
]
class sdist(setuptools.command.sdist.sdist):
def make_distribution(self):
self.filelist.extend(manifest_files)
setuptools.command.sdist.sdist.make_distribution(self)
setuptools.setup(
name=project_name,
version=project_version,
author="See homepage for a complete list of contributors",
author_email=" ",
description="A software tool to improve microscope alignment",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MicronOxford/BeamDelta",
packages=setuptools.find_packages(),
python_requires = '>=3.5',
install_requires = [
"PyQt5",
"scikit-image",
"scipy",
"microscope",
],
entry_points = {
'console_scripts' : [
'BeamDelta = BeamDelta.BeamDeltaUI:__main__',
]
},
classifiers=[
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
],
)