Skip to content

Commit 2af36e6

Browse files
committed
add pyproject file to make it a package and revamp setup
1 parent 3caf5d0 commit 2af36e6

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,7 @@ access_token.json
3434
response_data.json
3535

3636
# Selenium
37-
geckodriver.log
37+
geckodriver.log
38+
39+
#dist
40+
dist/

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel",
5+
]
6+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@
88
setuptools.setup(
99
name="dynamic",
1010
version="0.0.1",
11+
author="IOSF Community",
12+
author_email="ping@iosf.in",
1113
description="Search for your questions in stackoverflow",
1214
long_description=long_description,
1315
long_description_content_type="text/markdown",
1416
url="https://github.com/IndianOpenSourceFoundation/dynamic-cli",
15-
packages=setuptools.find_packages(),
17+
project_urls={
18+
"Bug Tracker": "https://github.com/IndianOpenSourceFoundation/dynamic-cli/issues",
19+
},
1620
install_requires=DEPENDENCIES,
21+
package_dir={"": "src"},
22+
packages=setuptools.find_packages(where="src"),
1723
entry_points={"console_scripts": ['dynamic=main:search_flag.search_args']},
1824
classifiers=[
1925
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)