Skip to content

Commit

Permalink
folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin committed May 29, 2019
1 parent cdcf1ce commit feadae6
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ venv/
__pycache__/
.idea/
dist/
build/
peer_socket.egg-info/
File renamed without changes.
1 change: 0 additions & 1 deletion __init__.py

This file was deleted.

1 change: 1 addition & 0 deletions peer_socket/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from peer_socket.peer_socket import PeerSocket
File renamed without changes.
2 changes: 1 addition & 1 deletion peer_socket.py → peer_socket/peer_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import socket
import jsonpickle
from threading import Thread
from socket_message import SocketMessage
from peer_socket.socket_message import SocketMessage


class PeerSocket:
Expand Down
File renamed without changes.
47 changes: 25 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="peer_socket",
version="0.0.1",
author="Benjamin Fischer",
author_email="[email protected]",
description="Peer socket",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Taegos/peer_socket",
download_url="https://github.com/Taegos/peer_socket/archive/0.0.1.tar.gz",
packages=setuptools.find_packages(),
install_requires=["jsonpickle"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
from distutils.core import setup
setup(
name='peer_socket', # How you named your package folder (MyLib)
packages = ['peer_socket'], # Chose the same as "name"
version = '0.0.3', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description='Peer Socket', # Give a short description about your library
author = 'Benjamin Fischer', # Type in your name
author_email = '[email protected]', # Type in your E-Mail
url = 'https://github.com/Taegos/peer_socket', # Provide either the link to your github or to your website
download_url = 'https://github.com/Taegos/peer_socket/releases/tag/0.0.3', # I explain this later on
keywords = ['Socket', 'Peer', 'P2P'], # Keywords that define your package best
install_requires=[ # I get to this in a second
'jsonpickle'
],
classifiers=[
'Development Status :: 3 - Alpha', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
'Intended Audience :: Developers', # Define that your audience are developers
'Topic :: Software Development',
'License :: OSI Approved :: MIT License', # Again, pick a license
'Programming Language :: Python :: 3', #Specify which pyhton versions that you want to support
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)

0 comments on commit feadae6

Please sign in to comment.