generated from nyu-software-engineering/python-package-exercise
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from software-students-fall2023/setup
Added setup files
- Loading branch information
Showing
8 changed files
with
149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!" |