Skip to content

Commit 6e23d99

Browse files
authored
Merge pull request #3 from software-students-fall2023/setup
Added setup files
2 parents 9a2392e + f128cdf commit 6e23d99

File tree

8 files changed

+149
-0
lines changed

8 files changed

+149
-0
lines changed

Pipfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
pytest = "*"
8+
pyrizz = {editable = true, path = "."}
9+
10+
[dev-packages]
11+
12+
[requires]
13+
python_version = "3"

Pipfile.lock

Lines changed: 88 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

myproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pyrizz"
7+
description = "A package where users can receive pick up lines one at a time."
8+
version = "0.0.1"
9+
authors = [
10+
{ name="Aditya Pandhare", email="[email protected]",
11+
name="Anzhelika Nastashchuk", email="[email protected]",
12+
name="Baani Pasrija", email="[email protected]",
13+
name="Zander Chen", email="[email protected]",
14+
},
15+
]
16+
license = { file = "LICENSE" }
17+
readme = "README.md"
18+
keywords = ["python", "package", "build", "tutorial"]
19+
requires-python = ">=3.7"
20+
classifiers = [
21+
"Programming Language :: Python :: 3",
22+
"Intended Audience :: Education",
23+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
24+
"Operating System :: OS Independent",
25+
]
26+
27+
[project.optional-dependencies]
28+
dev = ["pytest"]
29+
30+
[project.urls]
31+
"Homepage" = "https://github.com/awesomeadi00/Python_Package_Example"
32+
"Repository" = "https://github.com/awesomeadi00/Python_Package_Example.git"
33+
34+
[project.scripts]
35+
pyrizz = "pyrizz.__main__:main"

src/pyrizz/__init__.py

Whitespace-only changes.

src/pyrizz/__main__.py

Whitespace-only changes.

src/pyrizz/pyrizz.py

Whitespace-only changes.

tests/__init__.py

Whitespace-only changes.

tests/test_pyrizz.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import pytest
2+
3+
class Tests:
4+
# An example of a pytest fixture - a function that can be used for setup and teardown before and after test functions are run.
5+
@pytest.fixture
6+
def example_fixture(self):
7+
yield
8+
9+
# Test debugging... making sure that we can run a simple test that always passes.
10+
def test_sanity_check(self, example_fixture):
11+
expected = True
12+
actual = True
13+
assert actual == expected, "Expected True to be equal to True!"

0 commit comments

Comments
 (0)