Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 65bcd75

Browse files
committed
UPdate setup
1 parent 8609d33 commit 65bcd75

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

setup.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
import pathlib
22
from setuptools import setup, find_packages
33

4+
from os import environ
5+
46
# The directory containing this file
57
HERE = pathlib.Path(__file__).parent
68

79
# The text of the README file
810
README = (HERE / "README.md").read_text()
911

10-
# This call to setup() does all the work
12+
package_name = "thirdweb-sdk"
13+
if "PACKAGE_NAME" in environ:
14+
package_name = environ["PACKAGE_NAME"]
15+
1116
setup(
12-
name="nftlabs-sdk",
17+
name=package_name,
1318
version="0.3.0",
14-
description="Official Nftlabs sdk",
19+
description="Official Thirdweb sdk",
1520
long_description=README,
1621
long_description_content_type="text/markdown",
1722
url="https://github.com/nftlabs/nftlabs-sdk-python",
1823
author="NFTLabs",
19-
author_email="pythonsdk@thirdweb.com",
24+
author_email="sdk@thirdweb.com",
2025
license="MIT",
2126
classifiers=[
2227
"License :: OSI Approved :: MIT License",
@@ -27,4 +32,5 @@
2732
include_package_data=True,
2833
install_requires=["dataclasses-json", "thirdweb-web3",
2934
"requests", "thirdweb-contract-wrappers", "web3"],
35+
py_modules=["thirdweb", "nftlabs"]
3036
)

0 commit comments

Comments
 (0)