Skip to content

Commit 64d7f2a

Browse files
committed
Setup.py updates for pypi
1 parent 191293e commit 64d7f2a

3 files changed

Lines changed: 27 additions & 15 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# python-ccentral
22

33
Python client for CCentral configuration management. Client communicates
4-
directly with etcd so no additional dependencies to etcd is required.
5-
WebUI for convenient configuration management and stat info can be found
4+
directly with etcd.
5+
6+
WebUI for configuration management and monitoring metrics can be found
67
from https://github.com/slvwolf/ccentral.
78

89
## Example Usage

ccentral/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
TTL_DAY = 24 * 60 * 60
1818
TTL_WEEK = TTL_DAY*7
19-
VERSION = "0.4.0"
19+
VERSION = "0.4.1"
2020
API_VERSION = "1"
2121

2222

setup.py

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
11
#!/usr/bin/env python
22
# coding=utf8
3+
import setuptools
34

4-
from setuptools import setup
5+
with open("README.md", "r") as fh:
6+
long_description = fh.read()
57

6-
setup(
7-
name='CCentral',
8-
version="0.4.0",
9-
description='CCentral client library',
8+
setuptools.setup(
9+
name="ccentral", # Replace with your own username
10+
version="0.4.1",
1011
author='Santtu Järvi',
1112
author_email='santtu.jarvi@finfur.net',
12-
url='https://github.com/slvwolf/python-ccentral',
13-
packages=['ccentral'],
14-
requires=["python-etcd", 'pyformance'],
15-
install_requires=["python-etcd>=0.4.3", "pyformance"],
16-
classifiers=["Programming Language :: Python :: 3.5",
17-
"Programming Language :: Python :: 3.6"]
18-
)
13+
description='CCentral client library',
14+
long_description=long_description,
15+
long_description_content_type="text/markdown",
16+
url="https://github.com/slvwolf/python-ccentral",
17+
packages=setuptools.find_packages(),
18+
install_requires=[
19+
"pyformance >= 0.4.0",
20+
"python-etcd == 0.4.5"],
21+
classifiers=[
22+
"Programming Language :: Python :: 3",
23+
"License :: OSI Approved :: MIT License",
24+
"Operating System :: OS Independent",
25+
"Topic :: System :: Monitoring",
26+
"Development Status :: 5 - Production/Stable",
27+
],
28+
python_requires='>=3.6',
29+
)

0 commit comments

Comments
 (0)