Skip to content

Commit

Permalink
Merge pull request #3 from software-students-fall2023/setup
Browse files Browse the repository at this point in the history
Added setup files
  • Loading branch information
awesomeadi00 authored Nov 3, 2023
2 parents 9a2392e + f128cdf commit 6e23d99
Show file tree
Hide file tree
Showing 8 changed files with 149 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pytest = "*"
pyrizz = {editable = true, path = "."}

[dev-packages]

[requires]
python_version = "3"
88 changes: 88 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions myproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pyrizz"
description = "A package where users can receive pick up lines one at a time."
version = "0.0.1"
authors = [
{ name="Aditya Pandhare", email="[email protected]",
name="Anzhelika Nastashchuk", email="[email protected]",
name="Baani Pasrija", email="[email protected]",
name="Zander Chen", email="[email protected]",
},
]
license = { file = "LICENSE" }
readme = "README.md"
keywords = ["python", "package", "build", "tutorial"]
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
]

[project.optional-dependencies]
dev = ["pytest"]

[project.urls]
"Homepage" = "https://github.com/awesomeadi00/Python_Package_Example"
"Repository" = "https://github.com/awesomeadi00/Python_Package_Example.git"

[project.scripts]
pyrizz = "pyrizz.__main__:main"
Empty file added src/pyrizz/__init__.py
Empty file.
Empty file added src/pyrizz/__main__.py
Empty file.
Empty file added src/pyrizz/pyrizz.py
Empty file.
Empty file added tests/__init__.py
Empty file.
13 changes: 13 additions & 0 deletions tests/test_pyrizz.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import pytest

class Tests:
# An example of a pytest fixture - a function that can be used for setup and teardown before and after test functions are run.
@pytest.fixture
def example_fixture(self):
yield

# Test debugging... making sure that we can run a simple test that always passes.
def test_sanity_check(self, example_fixture):
expected = True
actual = True
assert actual == expected, "Expected True to be equal to True!"

0 comments on commit 6e23d99

Please sign in to comment.