Skip to content

Commit 37b0340

Browse files
committed
fix package
1 parent 76aaed7 commit 37b0340

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

ic/__init__.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
from ic.principal import Principal
3+
from ic.identity import Identity
4+
from ic.candid import encode, decode
5+
from ic.client import Client
6+
from ic.agent import Agent
7+
8+
__all__ = [
9+
"Principal",
10+
"Identity",
11+
"encode",
12+
"decode",
13+
"Client",
14+
"Agent",
15+
]

setup.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/usr/bin/env python
2+
import setuptools
23
from setuptools import setup
34
from os import path
45
this_directory = path.abspath(path.dirname(__file__))
56
with open(path.join(this_directory, 'readme.md'), 'r') as f:
67
long_description = f.read()
78

89
setup(
9-
name = 'ic-py',
10+
name = 'ic',
1011
version = '0.0.1',
11-
description = 'Python Agent Library for the IC',
12+
description = 'Python Agent Library for the Internet Computer',
1213
long_description = long_description,
1314
long_description_content_type = "text/markdown",
1415
url = 'https://github.com/rocklabs-io/ic-py',
@@ -17,5 +18,7 @@
1718
keywords = 'dfinity ic agent',
1819
install_requires = ['requests>=2.22.0', 'cryptography>=36.0.0', 'cbor2>=5.4.2'],
1920
py_modules = ['ic'],
21+
package_dir = { 'ic': "ic" },
22+
packages = setuptools.find_packages(where='./'),
2023
include_package_data = True
2124
)

0 commit comments

Comments
 (0)