Skip to content

Commit d714c0e

Browse files
authored
Create a PyPI compatible package (#3)
1 parent 3960362 commit d714c0e

File tree

8 files changed

+32
-0
lines changed

8 files changed

+32
-0
lines changed
File renamed without changes.

licensing/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from licensing.models import *
2+
from licensing.helpers import *
3+
from licensing.methods import *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Inside of setup.cfg
2+
[metadata]
3+
description-file = README.md

setup.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
from distutils.core import setup
2+
setup(
3+
name = 'licensing', # How you named your package folder (MyLib)
4+
packages = ['licensing'], # Chose the same as "name"
5+
version = '0.1', # Start with a small number and increase it with every change you make
6+
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
7+
description = 'Client library for Cryptolens licensing Web API.', # Give a short description about your library
8+
author = '', # Type in your name
9+
author_email = '[email protected]', # Type in your E-Mail
10+
url = 'https://cryptolens.io', # Provide either the link to your github or to your website
11+
download_url = 'https://github.com/user/reponame/archive/v_01.tar.gz', # I explain this later on
12+
keywords = ['software licensing', 'licensing library', 'cryptolens'], # Keywords that define your package best
13+
install_requires=[ # I get to this in a second
14+
'pycrypto'
15+
],
16+
classifiers=[
17+
'Development Status :: 5 - Stable', # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
18+
'Intended Audience :: Developers', # Define that your audience are developers
19+
'Topic :: Software Development :: Build Tools',
20+
'License :: OSI Approved :: MIT License', # Again, pick a license
21+
'Programming Language :: Python :: 3', #Specify which pyhton versions that you want to support
22+
'Programming Language :: Python :: 3.4',
23+
'Programming Language :: Python :: 3.5',
24+
'Programming Language :: Python :: 3.6',
25+
],
26+
)

0 commit comments

Comments
 (0)