Compare commits
	
		
			No commits in common. "d229c9cf2db546937823dc3cd36700b07cff70bd" and "48e47e34a81c96137121a6bbc83c0388391e9d04" have entirely different histories.
		
	
	
		
			d229c9cf2d
			...
			48e47e34a8
		
	
		
							
								
								
									
										20
									
								
								pyfacts/__main__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								pyfacts/__main__.py
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| import sys | ||||
| 
 | ||||
| 
 | ||||
| def main(args=None): | ||||
|     """The main routine.""" | ||||
|     if args is None: | ||||
|         args = sys.argv[1:] | ||||
| 
 | ||||
|     print("This is the main routine.") | ||||
|     print("It should do something interesting.") | ||||
| 
 | ||||
|     print("This is the name of the script: ", sys.argv[0]) | ||||
|     print("Number of arguments: ", len(sys.argv)) | ||||
|     print("The arguments are: ", str(sys.argv)) | ||||
| 
 | ||||
|     # Do argument parsing here with argparse | ||||
| 
 | ||||
| 
 | ||||
| if __name__ == "__main__": | ||||
|     main() | ||||
							
								
								
									
										
											BIN
										
									
								
								requirements.txt
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								requirements.txt
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										11
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								setup.py
									
									
									
									
									
								
							| @ -3,15 +3,20 @@ from setuptools import find_packages, setup | ||||
| license = open("LICENSE").read().strip() | ||||
| 
 | ||||
| setup( | ||||
|     name="pyfacts", | ||||
|     version=open("VERSION").read().strip(), | ||||
|     name="PyFacts", | ||||
|     version="0.0.1", | ||||
|     license=license, | ||||
|     author="Gourav Kumar", | ||||
|     author_email="gouravkr@outlook.in", | ||||
|     url="https://gouravkumar.com", | ||||
|     description="A library to perform financial analytics on Time Series data", | ||||
|     description="A library which makes handling time series data easier", | ||||
|     long_description=open("README.md").read().strip(), | ||||
|     packages=find_packages(), | ||||
|     install_requires=["python-dateutil"], | ||||
|     test_suite="tests", | ||||
|     entry_points={ | ||||
|         "console_scripts": [ | ||||
|             "fincal=fincal.__main__:main", | ||||
|         ] | ||||
|     }, | ||||
| ) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user