From 3f96a33a37b9e33ff2eb0c58bbf92239138885a7 Mon Sep 17 00:00:00 2001 From: itzaname Date: Sun, 17 Jul 2022 04:29:39 -0400 Subject: [PATCH] New setup --- pyproject.toml | 6 ------ setup.py | 12 ++++++++++++ {src => strafesnet}/bots_pb2.py | 0 {src => strafesnet}/bots_pb2_grpc.py | 0 {src => strafesnet}/events_pb2.py | 0 {src => strafesnet}/events_pb2_grpc.py | 0 {src => strafesnet}/maps_pb2.py | 0 {src => strafesnet}/maps_pb2_grpc.py | 0 {src => strafesnet}/servers_pb2.py | 0 {src => strafesnet}/servers_pb2_grpc.py | 0 {src => strafesnet}/times_pb2.py | 0 {src => strafesnet}/times_pb2_grpc.py | 0 {src => strafesnet}/transactions_pb2.py | 0 {src => strafesnet}/transactions_pb2_grpc.py | 0 {src => strafesnet}/users_pb2.py | 0 {src => strafesnet}/users_pb2_grpc.py | 0 16 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 pyproject.toml create mode 100644 setup.py rename {src => strafesnet}/bots_pb2.py (100%) rename {src => strafesnet}/bots_pb2_grpc.py (100%) rename {src => strafesnet}/events_pb2.py (100%) rename {src => strafesnet}/events_pb2_grpc.py (100%) rename {src => strafesnet}/maps_pb2.py (100%) rename {src => strafesnet}/maps_pb2_grpc.py (100%) rename {src => strafesnet}/servers_pb2.py (100%) rename {src => strafesnet}/servers_pb2_grpc.py (100%) rename {src => strafesnet}/times_pb2.py (100%) rename {src => strafesnet}/times_pb2_grpc.py (100%) rename {src => strafesnet}/transactions_pb2.py (100%) rename {src => strafesnet}/transactions_pb2_grpc.py (100%) rename {src => strafesnet}/users_pb2.py (100%) rename {src => strafesnet}/users_pb2_grpc.py (100%) diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index d070aec..0000000 --- a/pyproject.toml +++ /dev/null @@ -1,6 +0,0 @@ -[project] -name = "strafesnet" -version = "1" -description = "Python grpc files" -requires-python = ">=3.7" - diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..82a8ef3 --- /dev/null +++ b/setup.py @@ -0,0 +1,12 @@ +from setuptools import setup + +setup( + name='strafesnet', + version='1', + packages=['strafesnet'], + license='LICENSE.txt', + description='StrafesNET python grpc modules', + install_requires=[ + "grpcio", + ], +) \ No newline at end of file diff --git a/src/bots_pb2.py b/strafesnet/bots_pb2.py similarity index 100% rename from src/bots_pb2.py rename to strafesnet/bots_pb2.py diff --git a/src/bots_pb2_grpc.py b/strafesnet/bots_pb2_grpc.py similarity index 100% rename from src/bots_pb2_grpc.py rename to strafesnet/bots_pb2_grpc.py diff --git a/src/events_pb2.py b/strafesnet/events_pb2.py similarity index 100% rename from src/events_pb2.py rename to strafesnet/events_pb2.py diff --git a/src/events_pb2_grpc.py b/strafesnet/events_pb2_grpc.py similarity index 100% rename from src/events_pb2_grpc.py rename to strafesnet/events_pb2_grpc.py diff --git a/src/maps_pb2.py b/strafesnet/maps_pb2.py similarity index 100% rename from src/maps_pb2.py rename to strafesnet/maps_pb2.py diff --git a/src/maps_pb2_grpc.py b/strafesnet/maps_pb2_grpc.py similarity index 100% rename from src/maps_pb2_grpc.py rename to strafesnet/maps_pb2_grpc.py diff --git a/src/servers_pb2.py b/strafesnet/servers_pb2.py similarity index 100% rename from src/servers_pb2.py rename to strafesnet/servers_pb2.py diff --git a/src/servers_pb2_grpc.py b/strafesnet/servers_pb2_grpc.py similarity index 100% rename from src/servers_pb2_grpc.py rename to strafesnet/servers_pb2_grpc.py diff --git a/src/times_pb2.py b/strafesnet/times_pb2.py similarity index 100% rename from src/times_pb2.py rename to strafesnet/times_pb2.py diff --git a/src/times_pb2_grpc.py b/strafesnet/times_pb2_grpc.py similarity index 100% rename from src/times_pb2_grpc.py rename to strafesnet/times_pb2_grpc.py diff --git a/src/transactions_pb2.py b/strafesnet/transactions_pb2.py similarity index 100% rename from src/transactions_pb2.py rename to strafesnet/transactions_pb2.py diff --git a/src/transactions_pb2_grpc.py b/strafesnet/transactions_pb2_grpc.py similarity index 100% rename from src/transactions_pb2_grpc.py rename to strafesnet/transactions_pb2_grpc.py diff --git a/src/users_pb2.py b/strafesnet/users_pb2.py similarity index 100% rename from src/users_pb2.py rename to strafesnet/users_pb2.py diff --git a/src/users_pb2_grpc.py b/strafesnet/users_pb2_grpc.py similarity index 100% rename from src/users_pb2_grpc.py rename to strafesnet/users_pb2_grpc.py