| 
									
										
										
										
											2020-02-23 10:30:37 +11:00
										 |  |  | ##################################################### | 
					
						
							|  |  |  | # Copyright (c) Xuanyi Dong [GitHub D-X-Y], 2019.08 # | 
					
						
							|  |  |  | ##################################################### | 
					
						
							| 
									
										
										
										
											2020-03-21 12:13:13 -07:00
										 |  |  | # [2020.02.25] Initialize the API as v1.1 | 
					
						
							|  |  |  | # [2020.03.09] Upgrade the API to v1.2 | 
					
						
							|  |  |  | # [2020.03.16] Upgrade the API to v1.3 | 
					
						
							| 
									
										
										
										
											2020-06-30 09:05:38 +00:00
										 |  |  | # [2020.06.30] Upgrade the API to v2.0 | 
					
						
							| 
									
										
										
										
											2020-01-11 00:19:58 +11:00
										 |  |  | import os | 
					
						
							|  |  |  | from setuptools import setup | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-17 09:25:58 +00:00
										 |  |  | def read(fname="README.md"): | 
					
						
							| 
									
										
										
										
											2021-03-18 16:02:55 +08:00
										 |  |  |     with open( | 
					
						
							|  |  |  |         os.path.join(os.path.dirname(__file__), fname), encoding="utf-8" | 
					
						
							|  |  |  |     ) as cfile: | 
					
						
							| 
									
										
										
										
											2021-03-17 09:25:58 +00:00
										 |  |  |         return cfile.read() | 
					
						
							| 
									
										
										
										
											2020-01-11 00:19:58 +11:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | setup( | 
					
						
							| 
									
										
										
										
											2021-03-17 09:25:58 +00:00
										 |  |  |     name="nas_bench_201", | 
					
						
							|  |  |  |     version="2.0", | 
					
						
							|  |  |  |     author="Xuanyi Dong", | 
					
						
							|  |  |  |     author_email="dongxuanyi888@gmail.com", | 
					
						
							|  |  |  |     description="API for NAS-Bench-201 (a benchmark for neural architecture search).", | 
					
						
							|  |  |  |     license="MIT", | 
					
						
							|  |  |  |     keywords="NAS Dataset API DeepLearning", | 
					
						
							|  |  |  |     url="https://github.com/D-X-Y/NAS-Bench-201", | 
					
						
							|  |  |  |     packages=["nas_201_api"], | 
					
						
							|  |  |  |     long_description=read("README.md"), | 
					
						
							|  |  |  |     long_description_content_type="text/markdown", | 
					
						
							| 
									
										
										
										
											2020-01-11 00:19:58 +11:00
										 |  |  |     classifiers=[ | 
					
						
							|  |  |  |         "Programming Language :: Python", | 
					
						
							|  |  |  |         "Topic :: Database", | 
					
						
							|  |  |  |         "Topic :: Scientific/Engineering :: Artificial Intelligence", | 
					
						
							|  |  |  |         "License :: OSI Approved :: MIT License", | 
					
						
							|  |  |  |     ], | 
					
						
							|  |  |  | ) |