5
5
with open ("README.md" , "r" ) as fh :
6
6
long_description = fh .read ()
7
7
8
- verstr = "unknown"
9
- try :
10
- verstrline = open ('autogator/_version.py' , "rt" ).read ()
11
- except EnvironmentError :
12
- # No version file.
13
- raise RuntimeError ("Unable to find version in autogator/_version.py" )
14
- else :
15
- VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
16
- mo = re .search (VSRE , verstrline , re .M )
17
- if mo :
18
- verstr = mo .group (1 )
19
- else :
20
- raise RuntimeError ("unable to find version in autogator/_version.py" )
8
+
9
+ NAME = 'autogator'
10
+ LIBNAME = 'autogator'
11
+ from autogator import __version__ , __website_url__ #analysis:ignore
21
12
22
13
extra_files = []
23
14
data_files_ext = []
@@ -33,7 +24,7 @@ def package_data_files(directory):
33
24
34
25
setuptools .setup (
35
26
name = "AutoGator" ,
36
- version = verstr ,
27
+ version = __version__ ,
37
28
author = "Sequoia Ploeg" ,
38
29
author_email = "sequoia.ploeg@ieee.org" ,
39
30
description = "A software package for camera-assisted motion control of PIC chip interrogation platforms." ,
@@ -47,7 +38,17 @@ def package_data_files(directory):
47
38
classifiers = [
48
39
"Programming Language :: Python :: 3" ,
49
40
"License :: OSI Approved :: MIT License" ,
50
- "Operating System :: OS Independent" ,
41
+ "Operating System :: Microsoft :: Windows" ,
42
+ "Programming Language :: Python :: 3" ,
43
+ "Programming Language :: Python :: 3 :: Only" ,
44
+ "Programming Language :: Python :: 3.6" ,
45
+ "Programming Language :: Python :: 3.7" ,
46
+ "Programming Language :: Python :: 3.8" ,
47
+ "Development Status :: 4 - Beta" ,
48
+ "Intended Audience :: Education" ,
49
+ "Intended Audience :: Science/Research" ,
50
+ "Intended Audience :: Developers" ,
51
+ "Topic :: Scientific/Engineering" ,
51
52
],
52
53
install_requires = [
53
54
'numpy' ,
0 commit comments