diff --git a/pyfacts/__main__.py b/pyfacts/__main__.py deleted file mode 100644 index a9a80eb..0000000 --- a/pyfacts/__main__.py +++ /dev/null @@ -1,20 +0,0 @@ -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() diff --git a/setup.py b/setup.py index da1b09f..002f8ae 100644 --- a/setup.py +++ b/setup.py @@ -3,20 +3,15 @@ from setuptools import find_packages, setup license = open("LICENSE").read().strip() setup( - name="PyFacts", - version="0.0.1", + name="pyfacts", + version=open("VERSION").read().strip(), license=license, author="Gourav Kumar", author_email="gouravkr@outlook.in", url="https://gouravkumar.com", - description="A library which makes handling time series data easier", + description="A library to perform financial analytics on Time Series data", 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", - ] - }, )