-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
45 lines (40 loc) · 1.36 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup
def read_files(files):
data = []
for file in files:
with open(file) as f:
data.append(f.read())
return "\n".join(data)
meta = {}
with open('./porcupine/version.py') as f:
exec(f.read(), meta)
setup(
name='porcupine-python',
version=meta['__version__'],
packages=[
'porcupine'
],
install_requires=[
'pydantic==1.*',
],
url='https://github.com/zurek11/simple_serializer',
license='MIT',
author='Adam Žúrek',
author_email='[email protected]',
description='A library designed primarily for serializing objects using type checking and resolvers.',
long_description=read_files(['README.md', 'CHANGELOG.md']),
long_description_content_type='text/markdown',
classifiers=[
# As from https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries',
]
)