Skip to content

Commit

Permalink
add setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
denniscmcom committed Nov 20, 2021
1 parent 61eb11a commit 5506b94
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 23 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
29 changes: 29 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[metadata]
name = fucking-black-scholes
version = 0.0.2
author = Dennis Concepcion Martin
author_email = dennisconcepcionmartin@gmail.com
description = A simple command line tool for pricing options using the Black-Scholes model
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/denniscm190/fucking-black-scholes
project_urls = Bug Tracker = https://github.com/denniscm190/fucking-black-scholes/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
package_dir = = src
packages = find:
python_requires = >=3.8
install_requires =
numpy~=1.21.4
scipy~=1.7.2
click~=8.0.3

[options.packages.find]
where = src

[options.entry_points]
console_scripts = fbs = fbs.main:cli
24 changes: 2 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,4 @@
from setuptools import setup, find_packages
from setuptools import setup


setup(
name='fucking-black-scholes',
description='A simple command line tool for pricing options using the Black-Scholes model',
version='0.0.1',
packages=find_packages(),
install_requires=['numpy~=1.21.4', 'scipy~=1.7.2', 'click~=8.0.3'],
python_requires='>=3.8',
entry_points='''
[console_scripts]
fbs=fbs.main:cli
''',
author="Dennis Concepción Martín",
keyword="finance, black-scholes, option, pricing, derivative",
license='MIT',
url='https://github.com/denniscm190/fucking-black-scholes',
author_email='dennisconcepcionmartin@gmail.com',
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
]
)
setup()
File renamed without changes.
Empty file added src/fbs/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import TestCase
from fbs.helpers import Option
from src.fbs.helpers import Option


class TestOption(TestCase):
Expand Down

0 comments on commit 5506b94

Please sign in to comment.